home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / comm / yrndl140.zip / yd.doc < prev    next >
Text File  |  1996-09-24  |  95KB  |  2,261 lines

  1. YD.DOC        24 Sep 1996        (from YRNDL140.ZIP)
  2. (c) 1996 by Jerry Levy        Marblehead, MA USA
  3. jlevy@ibm.net
  4.  
  5. YARNDIAL v. 1.40 is the full release version.
  6. Version number of installer (YDINSTL.CMD) also set to 1.40.
  7.  
  8. No significant changes were made to YD.DOC in going from v.
  9. 1.34 to 1.40.  (Some sections were significantly upgraded in
  10. going from 1.3 to 1.34).
  11.  
  12. This is the documentation file accompanying YARNDIAL in
  13. YRNDL140.ZIP.  Any comments, problems, bugs, irregularities
  14. or inconsistencies in operation, and suggestions should be
  15. sent to me at jlevy@ibm.net.  I will try to respond to every
  16. one.
  17.  
  18. This documentation file should be printed at 10 cpi (Courier or 
  19. other monospaced font preferred; a Times font, which is not 
  20. monospaced, affords readable copy).
  21.  
  22. IN-JOY ALERT
  23. If you use the IN-JOY dialer, read over Section 16.00 very 
  24. carefully.  Give serious thought to setting a routing interface 
  25. name in  each host setup that is unique and different from all 
  26. other interface names used by IN-JOY or your other dialers (if you 
  27. use others).  This interface name is set in an options page for 
  28. PPP and no doubt will be equally configurable in a corresponding 
  29. SLIP options page when SLIP is supported by IN-JOY.  YARNDIAL
  30. will use this interface name you assign to positively correlate an 
  31. existing connection to the YARNDIAL installation when YARNDIAL 
  32. starts up.  It can only do this competently if you use unique 
  33. interface names, different for all connections and providers.
  34.  
  35. A fix is now implemented that addresses the IN-JOY problem where a 
  36. phantom router interface is sometimes left standing when phone 
  37. connection and connection to the router (i.e., to your Internet 
  38. Service Provider) have been terminated.  INTERFACE_REMOVALE in 
  39. the YD_PARMS.DAT file may be edited to enable the fix.  Options 
  40. are discussed in Section 16.00 and again summarized in the 
  41. YD_PARMS.DAT file created upon installation of YARNDIAL.  Default 
  42. is INTERFACE_REMOVAL=0 (does not enable a corrective action).
  43.  
  44. If INTERFACE_REMOVAL is set equal to 1 or 2 (refer section 16.00),
  45. and a routing wass left up when YARNDIAL exits, it is removed and a
  46. message is returned indicating deletion of the routing, with indication
  47. of the destination and router addresses.
  48.  
  49. The changes accompanying the evolution of beta version 1.3x of 
  50. YARNDIAL.CMD are
  51.         An installer (YDINSTL.CMD) is now part of the Yarndial
  52.           package.  New versions of YARNDIAL (1.3 on) should
  53.           always be installed with the installer shipped with it.
  54.  
  55.         YDINSTL's file-search logic debugged.
  56.  
  57.         Error-trapping defaulted to 'disabled' and cleaned        
  58.           up.  Near the beginning of both YARNDIAL.CMD and 
  59.           YDINST.CMD is a variable, local_error_trapping, which 
  60.           will toggle error-trapping on (if = 1) or off (=0).
  61.  
  62.         Improvements made in how we recognize whether we are 
  63.           logged on to a provider and whether it is the correct 
  64.           connection for our YARNDIAL/YARN installation.  
  65.           Especially improved is such support when IN-JOY is the 
  66.           dialer.
  67.  
  68.         Improved manual-configuration.  Not recommended because 
  69.            manual configuration is tedious, but it does work.
  70.            It is a lot easier to configure SLIPPM, and let the 
  71.            installer draw stored parameters from the TCPOS2.INI 
  72.            file where they are stored.
  73.  
  74.         A partial fix (as yet untested) for multi-modem systems.
  75.  
  76.         Option added to keep the phone connection up when YARNDIAL 
  77.           has completed its operations, instead of always killing 
  78.           the connection.
  79.           
  80.         The Step-by-Step Yarn installation instructions: typos 
  81.           regarding metamail installation corrected; a more          
  82.           accurate and useful example of a mailcap file provided; 
  83.           an example of how to use a simple .CMD file to gain
  84.           control over what directory metamail.exe uses as the 
  85.           default for saving decoded attachments.
  86.  
  87. ABOUT VERSIONS 1.3x and later:  Beta versions 1.3 and later of
  88. YARNDIAL represent significant improvements over earlier versions.
  89. In addition to bug fixes and general cleanup of the code, an
  90. installer has been added which supports use of IBM/Advantis'
  91. IAK Dialer (for Advantis network only), the IBM SLIPPM dialer
  92. (the Dial-Other-Internet-Providers utility), PPP.EXE and 
  93. SLIP.EXE dialup strings, and ability to manually configure by 
  94. means of prompted entry of parameters.  Support for the IN-JOY 
  95. Dialer,the ILINK/2 dialer, and ability to use others of your own 
  96. choosing was added and augmented as v. 1.3x evolved.
  97.  
  98. I plan to issue a final GA version 1.4 by October 1, 1996.
  99.  
  100. This program is and will stay freeware.
  101.  
  102. DIALERS
  103. For use of third-party dialers such as IN-JOY or ILINK/2, or if 
  104. you use PPP.EXE or SLIP.EXE dialup strings, it is most convenient 
  105. and strongly recommended that you go through the motions of 
  106. setting up SLIPPM even where you do not intend to use SLIPPM to 
  107. make the connection.  Think of SLIPPM in that context as a PM 
  108. program to conveniently store paramters where the YARNDIAL 
  109. installer can most readily get at them.
  110.  
  111. SLIPPM is a fine utility, and in most instances where you are
  112. connecting to a provider with other than the IBM/Advantis IAK
  113. dialer, alone or with add-on script packages such as PPDIAL29, it
  114. is serviceable.  ILINK/2 is an improvement over SLIPPM in
  115. many respects and piggybacks on SLIPPM-created dialup
  116. configurations.  IN-JOY is another improved dialer, but unlike
  117. ILINK/2, it is totally independent of the SLIPPM, SLIP.EXE
  118. and/or PPP.EXE programs and of the TCPOS2.INI file used by SLIPPM 
  119. and ILINK/2.  IN-JOY presently (version 09) does not support
  120. SLIP but SLIP support is soon to be added to IN-JOY features. 
  121.  
  122. I am committed to adding and improving support of third-party
  123. dialers provided I can obtain a copy to work with and the 
  124. interface is not obscure.  So far, only ILINK/2 and IN-JOY have 
  125. been brought to my attention as alternatives to SLIPPM, PPP.EXE
  126. and SLIP.EXE.
  127.  
  128. Contact me if I do not support your pet dialer (jlevy@ibm.net).
  129.  
  130.                         CONTENTS
  131.  1.00  Installation For The Impatient User (Assumes Yarn And 
  132.         Souper Are Installed And They Work
  133.  2.00  What Is Yarndial?
  134.  3.00  Key Features
  135.  4.00  Copyright Notice And Disclaimers
  136.  5.00  Passwords - Disclaimer
  137.  6.00  How Does The Installer Work?
  138.  7.00  Example: Setting Up For Two Users (My Installation)
  139.  8.00  What Does YDINSTL.CMD Do?
  140.  9.00  .CMD Files Created - Meaning Of Customization 
  141. 10.00  Recreating Objects (Running OBJECTS.CMD - A Peculiarity)
  142. 11.00  Warp, Souper, Yarn: Versions Tested
  143. 12.00  You Have Not Installed Yarn And Souper Yet?
  144. 13.00  History
  145. 14.00  Should You Upgrade Anything Before You Install?
  146.         14.10   Souper
  147.         14.20   IBM/Advantis IAK Dialer
  148.         14.30   SLIPPM.EXE (Dial-Other-Internet-Providers Utility 
  149.                  and SLIP Upgrades
  150. 15.00  Before You Run YDINSTL.CMD
  151. 16.00  Notes On Using the IN-JOY Dialer
  152. 17.00  About The Fix-Interrupted-Import Option On The Main
  153.         YARNDIAL Menu
  154. 18.00  Souper Command-Line Options
  155. 19.00  Issues That May Come Up During Or After Install
  156. 20.00  Manual Install
  157. 21.00  Manual Install: The Password Problem
  158. 22.00  Connection_Type: The Different Choices
  159. 23.00  More About Dialup_String: A Programming Note
  160. 24.00  Zip And UnZip Files
  161. 25.00  Compression Executables: OS/2 Versus MS-DOS 
  162. 26.00  Some Other Breed Of Compression Utilities
  163. 27.00  Files For Setting Up Yarn And Souper From Scratch
  164. 28.00  Install EMXRT, METAMAIL, MIME64 (recommended)
  165.         28.10 EMXRT09B (optional)
  166.         28.20 MIME64 (optional) 
  167.         28.30 METAMAIL (optional)
  168.            28.31  Metamail Tricks
  169.            28.32  Doing Attachments Under Yarn, Metamail 
  170.                    Operation, Decoding Multipart Messages, and 
  171.                    Handling Non-Conforming MIME Attachments
  172.               28.321  Doing Attachments Under Yarn, etc.
  173.               28.322  Decoding Non-Conforming Mime Attachments
  174.               28.323  Decoding MIME With MIME64.EXE
  175.               28.324  Content-type Editing:  MIME Associations
  176. 29.00  Step-By-Step Installation Of Yarn and Souper
  177. 30.00  Note About Adding Newsgroups
  178. 31.00  Setting Up And Installing For Multiple Users
  179. 32.00  Connection Killed Or Not When YARNDIAL Ends
  180. 33.00  Where To Get Software And Helpful Documentation
  181. 34.00  Bugs and Error-Trapping
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188. 1.00  INSTALLATION FOR THE IMPATIENT USER (ASSUMES YARN AND 
  189.        SOUPER ARE INSTALLED AND THEY WORK)
  190.     1.10   First unzip YRNDL134.ZIP archive into a temporary 
  191. folder.  You have probably done that if you are reading this.
  192.  
  193. Files in the YRNDL134.ZIP archive are
  194.         FILE.DIZ        Zipfile Description
  195.         README.1ST      A lot shorter than YD.DOC
  196.         YD.DOC          This file
  197.         YDINSTL.CMD     The installer
  198.         YARNDIAL.CMD        
  199.         GO.EXE          From GO_15.ZIP, needed by YARNDIAL
  200.         GO_15.ZIP       Please open at your leisure, read         
  201.                          the documentation and send Carsten         
  202.                          his postcard.
  203.         Also an \ICONS\ subdirectory containing all of the icons 
  204.           needed
  205.  
  206. If you unzipped YRNDL134.ZIP with PkZip without using the -d 
  207. option, you will not have a subdirectory named ICONS.  That 
  208. will not interfere with installation.  YDINSTL will manage 
  209. to find the icons.
  210.  
  211.        1.20   If you are using the IBM/Advantis IAK Dialer
  212. proceed directly to the next step (1.30).
  213.  
  214. If you are using either SLIPPM (the IBM Dial-Other-Internet-
  215. Providers utility) or the ILINK/2 dialer, you MUST set up
  216. SLIPPM and verify it can connect to your provider successfully
  217. before you run YDINSTL.CMD to install YARNDIAL.
  218.  
  219. If you are using either the IN-JOY dialer, or a SLIP.EXE or
  220. PPP.EXE dialup string to connect, you SHOULD set up
  221. SLIPPM and verify it can conect to your provider successfully
  222. before you run YDINSTL.CMD to install YARNDIAL.  This is
  223. because the YARNDIAL installer (YDINSTL.CMD) can extract
  224. parameters from the TCPOS2.INI file used to store SLIPPM
  225. setup information. 
  226.  
  227. In setting up SLIPPM, you MUST fill in the names of your news
  228. server, your mail gateway (i.e., your SMTP server), your POP
  229. mail server, your pop login ID, and your pop password.  This is 
  230. not required for SLIPPM operation but the YARNDIAL installer 
  231. (YDINSTL.CMD) needs them and will automatically incorporate those 
  232. parameters into YARNDIAL's data file.
  233.  
  234.        1.30   Double-click on YDINSTL.CMD and follow the 
  235. instructions in screen prompts.
  236.  
  237.  
  238. 2.00    WHAT IS YARNDIAL?
  239. YARNDIAL.CMD is a menu-driven front end for C.T. Huang's 
  240. OS/2 Souper and Yarn off-line News and Mail reader programs.  
  241. YARNDIAL is a ReXX utility running under OS/2 Warp.  It is 
  242. designed to automate the steps needed to retrieve and send news 
  243. articles and mail and while doing so to provide a more versatile, 
  244. friendlier interface for users than could be accomplished using 
  245. ordinary batch files.
  246.  
  247. YARNDIAL and its installer (YDINSTL.CMD) should work with any
  248. version of OS/2 Warp (3.0).  Beta testers have confirmed that fixes
  249. applied to YARNDIAL v. 1.32(beta) and beyond permit it to work with
  250. the OS/2 Merlin beta.
  251.  
  252. ReXX must be installed for YARNDIAL and its installer to run.
  253.  
  254. Yarn and Souper must be correctly installed and functioning (the 
  255. true test of "correctly installed").  YARNDIAL only functions as a 
  256. front end and control panel for Souper and its interfaces with 
  257. Yarn, and is not a substitute.
  258.  
  259. YARNDIAL's opening menu allows you seven choices:
  260.  
  261.    MAIN SELECTION MENU
  262.    1  Only import Mail
  263.    2  Only import News Articles
  264.    3  Only import, but both Mail AND News
  265.    4  Only export (send Mail, Posts, Replies, and Follow-ups)
  266.    5  Everything: Get mail and news AND send Posts, Replies,
  267.       and Follow-ups
  268.    6  Complete an interrupted importation of mail/news
  269.       or rebuild a corrupted YARN history file
  270.    7  Souper options:  one-time-only changes in how souper
  271.       runs:
  272.          Catchup on News
  273.          Maximum News Packet Size
  274.          Do not retrieve newsgroup articles longer than set
  275.            number of lines
  276.          Read-only for Mail: Don't empty POP3 mailbox
  277.    Press:
  278.        1 2 3 4 5 6 7   Executes functions as shown; goes
  279.                          off-line when done
  280.    or  ! @ # $ % ^ &   Same functions; connection remains up   
  281.    To exit now and close connection: Escape key
  282.    To exit YarnDial, but leave any existing connection up: CTRL-Q
  283.    Enter Selection:
  284.  
  285. Note: The ! @ # $ % ^ & choices represent shift-1, shift-2, 
  286. through shift-7 on a US-English keyboard.  Those alternates may be
  287. changed to suit your own keyboard.
  288.  
  289.  
  290. 3.00  KEY FEATURES
  291. o  Automatic dialup, connection, retrieval and sending of 
  292. news and/or mail, and (usually) signoff.  Optionally, can be run 
  293. so connection remains up when YARNDIAL finishes.
  294.  
  295. o Ability under certain circumstances to use an existing
  296. SLIP or PPP connection to a provider.
  297.  
  298. o  Ability to select read-only for mail retrieval (doesn't empty 
  299. your POP3 mailbox).  I did not extend this to read-only for news 
  300. retrieval (i.e., to prevent your NEWSRC file from updating).  You 
  301. can edit the Souper parameters in YD_PARMS.DAT file following 
  302. installation to achieve this end (add -r to the 
  303. getnews_xtra_options element).
  304.  
  305. o  Ability to use a variety of dialup and connect options.    
  306. Supported are: the IBM/Advantis IAK Dialer,  IBM's Dial-
  307. Other-Internet-Providers utility (SLIPPM.EXE),  PPP.EXE and 
  308. SLIP.EXE dialup strings, the IN-JOY dialer (only in-joy 
  309. v. 09 tested so far) and ILINK/2.  Other dialers can be used.
  310.  
  311. o  Menu-driven, for convenient selection of tasks.
  312.  
  313. o  Ability to choose/change a limited number of Souper 
  314. command-line options (menu, during install).
  315.  
  316. o  Ability to choose/change some Souper command-line options 
  317. (menu, when running YARNDIAL).
  318.  
  319. o  A YARNDIAL menu item which allows you to complete an 
  320. importation of news or mail which had been interrupted,  and 
  321. to call up the Yarn utility REBUILD to restore damaged Yarn 
  322. spool and history files.  (You don't need to understand this:  
  323. if you were downloading news and mail and it never showed 
  324. up, or your machine quit in the middle, or the lights went 
  325. out, maybe this will provide a fix.)
  326.  
  327. o  YDINSTL.CMD provides a near-automated (prompted) 
  328. installation process if you already have installed Yarn and 
  329. Souper and they work.
  330.  
  331. o  Some ability exists to discriminate if the connection 
  332. that is up is the correct connection for the particular user 
  333. for which YARNDIAL was installed.  For the IN-JOY dialer
  334. this works best if one selects a unique interface name
  335. when configuring IN-JOY to connect to your provider.  Refer 
  336. Section 16.00 for more on use of the IN-JOY dialer.
  337.  
  338. o  Ability when you run YARNDIAL to do catchup on news.  
  339. Catchup marks as read all but some number you specify of 
  340. unread articles in each news group.  Catchup as implemented
  341. in YARNDIAL uses the same "catchup" number for all
  342. newsgroups. 
  343.  
  344. o  Among the Souper command-line options you can choose when 
  345. you run YDINSTL.CMD or at runtime when YARNDIAL is executed 
  346. are:
  347.       Set maximum size of the news packet you can download 
  348.       in a single session
  349.   and        
  350.       Limit retrieval of news articles to those with no more than 
  351.       some maximum number you set of lines in the body of the 
  352.       article.
  353.  
  354.  
  355. 4.00  COPYRIGHT NOTICE AND DISCLAIMERS
  356.         YDINSTL.CMD is Copyright 1996 by Jerry Levy
  357.            (all rights reserved)
  358.         YARNDIAL.CMD is Copyright 1995 and 1996 by Jerry Levy 
  359.                    (all rights reserved)
  360.         YD.DOC is Copyright 1995 and 1996 by Jerry Levy 
  361.                    (all rights reserved)
  362. These are provided as-is and without charge, with no 
  363. warranty expressed or implied as to merchantability or 
  364. fitness for any particular purpose.  All responsibility for 
  365. any and all incidental and consequential damages is 
  366. disclaimed.  These programs and associated text files are 
  367. freeware.  They may be distributed without restriction 
  368. providing: (1) this notice and disclaimer remain intact, (2) 
  369. all programs and files are included and unchanged, and (3) 
  370. they are distributed either in the original .zip archive or 
  371. the archive after being unzipped into a folder or onto a 
  372. disk or other medium.  Use of either or both of these 
  373. programs constitutes acceptance of these terms by all users.
  374.  
  375. GO.EXE and GO_15.ZIP are  (c) 1993-95 by Carsten Wimmer and 
  376. are included with permission.
  377. YARN.ICO is (c) by Chin Huang and is included with 
  378. permission.
  379.  
  380.  
  381. 5.00   PASSWORDS - DISCLAIMER
  382. Some passwords are extracted from dialer setup files, and 
  383. while installing for use of the IBM/Advantis IAK Dialer, 
  384. we prompt for the Advantis password.  To keep these 
  385. passwords free from the casual eye, we scramble them before 
  386. they are written to YD_PARMS.DAT.  YARNDIAL unscrambles them 
  387. to use them.  Bear in mind that this is very low-tech 
  388. password protection.  It is minimal protection against a 
  389. threat posed by a skilled programmer or dedicated interloper.
  390.  
  391.  
  392. 6.00   HOW DOES THE INSTALLER WORK?
  393. YDINSTL.CMD fetches information from one or more of: the IAK 
  394. dialer's DIALER.INI file, the TCPOS2.INI file, the IN-JOY
  395. HOSTS.DAT file, and/or the YARN CONFIG file.
  396.  
  397. It goes after and processes other information 
  398. it finds on its own prompts you to enter.  YDINSTL then creates a 
  399. data file  (YD_PARMS.DAT) which is written to the home directory 
  400. for the Yarn user setup for which you are doing a YARNDIAL 
  401. installation.  YD_PARMS.DAT stores ALL of the installation-
  402. specific parameters YARNDIAL needs in order to run. 
  403.  
  404. YDINSTL also creates a folder on the desktop which houses program 
  405. objects for five objects; four for customized ReXX utility 
  406. programs created by YDINSTL for this user and a fifth object in 
  407. the folder for running YARNDIAL.
  408.  
  409. Another customized program (OBJECTS.CMD) is created that will 
  410. restore the Desktop Folder and its five Program Objects should you 
  411. need to.  This program is stored in the user's Home directory 
  412. also.
  413.  
  414. The folder name includes the name of the home directory of the 
  415. Yarn user setup you installed for.
  416.  
  417. The utility programs themselves (as opposed to their program 
  418. objects) are stored in the user's home directory.
  419.  
  420. YDINSTL IS RUN SEPARATELY FOR EACH YARN USER SETUP
  421. If you set up more than one user when you set up YARN you need to 
  422. run YDINSTL separately for each one of them.
  423.  
  424.  
  425. 7.00   EXAMPLE: SETTING UP FOR TWO USERS (MY INSTALLATION)
  426. In my setup I have two users, each with its own YARN directory, 
  427. For each, the HOME directories are the same as the YARN 
  428. directories.  This is somewhat unconventional but it works like a 
  429. charm and solves some problems I need not go into here (drop me a 
  430. note if interested).  
  431.  
  432. I have set up one user for connection to the IBM/Advantis system 
  433. (using the IBM/Advantis IAK Dialer to establish a SLIP 
  434. connection), and I have set up a second user for connection via 
  435. PPP to the ATT WorldNet service (using IBM's Dial-Other-Internet-
  436. Provider utility, SLIPPM.EXE, to connect, or the IN-JOY or ILINK/2 
  437. dialers to connect).
  438.  
  439.         NOTE:  When you set up SLIPPM, you will be asked to assign 
  440.         a name for that entry (first box on first page of the 
  441.         entry form).  Contrary to what I had once recommended, YOU  
  442.         SHOULD USE ALL UPPERCASE FOR THE NAME.
  443.  
  444.         WHY?   Because when slippm is run, some information, such 
  445.         as the running total of number of connections, is saved in  
  446.         TCPOS2.INI, under the same name, but the name in all-
  447.         uppercase.  If the application name you specified was 
  448.         lowercase or mixed cases, you will store your application 
  449.         parameters under that name and you will create a separate 
  450.         entry (all uppercase) for the connect data.  If your 
  451.         application name is all-uppercase, your connect data are 
  452.         consolidated under a single uppercase .INI file 
  453.         "application" name.
  454.  
  455.  
  456. Following is how I created my Yarn and Home Directories. Please 
  457. read Sections 27.00, 28.00 and 29.00 (Setting up Yarn and Souper) 
  458. for all the other things one needs to do in addition to setting 
  459. up directories.
  460.  
  461.    Unzip YRN2_09x.ZIP into a temporary folder.
  462.  
  463.    From an OS/2 command line after changing to that temporary       
  464.    directory run
  465.          ENGLISH E:\ADVANTIS and then ENGLISH E:\WORLDNET.  
  466.    This creates separate E:\ADVANTIS and E:\WORLDNET directories    
  467.    for YARN. 
  468.  
  469.    Add the following to your CONFIG.SYS file and reboot (We do   
  470.    this first for the ADVANTIS installation, then for WORLDNET): 
  471.         SET YARN=E:\ADVANTIS
  472.         SET HOME=E:\ADVANTIS
  473.         SET TZ=EST5EDT
  474.  
  475.    Open an OS/2 Window session, change to the E:\ADVANTIS 
  476.    directory, and run
  477.         ADDUSER.EXE
  478.    defining E:\ADVANTIS as the home directory, and filling in the 
  479.    other blanks.
  480.  
  481.    Repeat that process for the WORLDNET installation: re-edit
  482.    CONFIG.SYS by replacing the ADVANTIS lines with
  483.        SET YARN=E:\WORLDNET and SET HOME=E:\WORLDNET
  484.    reboot; change to the E:\WORLDNET directory in an OS/2 window  
  485.    session; run ADDUSER.EXE from the command line, define 
  486.    E:\WORLDNET as the home directory, and fill in the other 
  487.    blanks.
  488.  
  489. (Also set up a NEWSRC file for each home directory, run 
  490. NEWGROUP.EXE to add new groups to each, create a signature file, 
  491. edited each of the Yarn CONFIG files, etc., etc., as detailed 
  492. below in Sections 27.00, 28.00, and 29.00)
  493.  
  494. I ran YDINSTL.CMD once for the Advantis user, and again for the 
  495. WorldNet user.  YDINSTL lets you key in home and yarn directories 
  496. for any correctly-set-up Yarn user so you do not need to fool with 
  497. CONFIG.SYS again.
  498.  
  499. NOTE:  For the WorldNet installation, when I had set up the Dial-
  500. Other-Internet-Provider (SLIPPM) to dial in, I assigned the name 
  501. WORLDNET (all-uppercase preferred) to the dialup entry.  So, when 
  502. YDINSTL.CMD is run specifying E:\WORLDNET as the home and yarn 
  503. directories and choosing connection_type 4 and SLIPPM to connect, 
  504. YDINSTL presents me with a menu of TCPOS2.INI applications to 
  505. choose from, one of which is WORLDNET, in the exact upper-case/ 
  506. lower-case form (all-uppercase) that I used as my SLIPPM entry 
  507. name when I configured SLIPPM for the connection. 
  508.  
  509.  
  510. 8.00   WHAT DOES YDINSTL.CMD DO?
  511. o Fetches information, parameters, etc.
  512.  
  513. o Wherever  it can, it presents menus for you to choose from when 
  514. you need to make selections
  515.  
  516. o Copies files from a temporary directory to the user HOME 
  517. directory
  518.  
  519. o Creates five customized ReXX programs for each installation, 
  520. copying them to the respective home directory
  521.   
  522. Functionality of four of these:
  523.     - YARNSHELL.CMD   Opens (starts) YARN for that user 
  524.                         (to read news and mail, and to 
  525.                         create mail, posts and replies)
  526.  
  527.     - YARNUTIL.CMD    Prompts for and runs YARN utility 
  528.                         programs for that user
  529.  
  530.     - RENEWZIP.CMD    Allows you to restore a reply-packet 
  531.                         (.ZIP) if during sending of mail a 
  532.                         glitch was encountered
  533.  
  534.     - LOGOFF.CMD      Helps assure log off by shutting 
  535.                         down the IAK Dialer, SLIPPM, PPP, 
  536.                         SLIP, SLATTACH, IN-JOY.  Uses 
  537.                         IN-JOY's KILLJOY.EXE in order to 
  538.                         close down IN-JOY, if KILLJOY was
  539.                         found when LOGOFF was created by 
  540.                         YDINSTL.CMD.
  541.  
  542. Another customized program (OBJECTS.CMD) restores the desktop 
  543. folder and its objects if you have intentionally or accidentally 
  544. deleted it.
  545.  
  546. o YDINSTL creates a Desktop Folder unique to each installation, 
  547. with objects for the four programs whose functions we have just 
  548. described, and a fifth object for running YARNDIAL.CMD.
  549.  
  550. The folder name contains the name of the user's home directory, so 
  551. YARNDIAL desktop folders, each for a different user, will be 
  552. distinct from each other.
  553.  
  554.  
  555. 9.00   .CMD FILES CREATED - MEANING OF CUSTOMIZATION
  556. The ReXX files created by the installer are customized in the 
  557. sense that the OS/2 environment variables for HOME and YARN, 
  558. paths, and directory structures apply specifically to that 
  559. installation. 
  560.  
  561. Unless you change where files are located, LOGOFF.CMD, regardless 
  562. of the home directory for which it is customized, will perform 
  563. very nearly exactly the same shut-down functionality.  Thus for a 
  564. multi-user installation, one "centrally available" LOGOFF.CMD 
  565. shadow can be used whatever the user for which it was installed.
  566.  
  567. Customizing ReXX utilities for each user means that once you've 
  568. completed installation of YARNDIAL with YDINSTL.CMD you no longer 
  569. need to have a HOME or YARN environment variable in your 
  570. CONFIG.SYS file.  Since some other programs want their own HOME 
  571. variable set and don't share well, this will prove a great 
  572. convenience to some of you and of no interest to others.
  573.  
  574.  
  575. 10.00   RECREATING OBJECTS (RUNNING OBJECTS.CMD): A PECULIARITY
  576. OBJECTS.CMD as mentioned can recreate objects if you delete them.  
  577. Be aware (and this is identified as as a bug at the end of this 
  578. document even though in reality it may be a "feature" rather than 
  579. a "bug") that if you have moved the YARNDIAL desktop folder you 
  580. created during an installation with YDINSTL (for example into 
  581. another desktop folder), if you rerun YDINSTL or run OBJECTS.CMD 
  582. to recreate the folder on the desktop, the folder does not appear 
  583. on the desktop, but instead the one you moved to a new location is 
  584. refreshed.  Only if you delete the desktop folder (instead of 
  585. moving it) will it be RECREATED ON THE DESKTOP. 
  586.  
  587.  
  588. 11.00   WARP, SOUPER, YARN: VERSIONS TESTED
  589. This version of YARNDIAL and its installer have been tested by me 
  590. only on machines running OS/2 Warp Connect with TCPIP and Internet 
  591. stuff installed as part of the Warp installation.  Beta testers 
  592. have used it on machines running the Merlin beta.  Version 1.32 
  593. corrected an incompatibility created by the new format of output 
  594. from the NETSTAT utility.  NETSTAT is called by YARNDIAL.
  595.  
  596. YARNDIAL should run on any OS/2 Warp setup.  If you use the Dial-
  597. Other-Internet-Providers utility (slippm.exe), you will need to 
  598. get the upgraded version of TCP/IP and SLIPPM (2.0 or higher).  
  599. That should be available by connecting to an updates ftp site.  
  600. See Section 33.00 for a link. 
  601.  
  602. If you have installed TCPIP and the OS/2 internet stuff 
  603. successfully to OS/2 2.1, I would expect YARNDIAL and its 
  604. installer to work.  If anyone tries this under OS/2 2.1 or 2.11, I 
  605. would appreciate feedback and if there are problems, I will try 
  606. my best to help out.
  607.  
  608.  
  609. 12.00  YOU HAVE NOT INSTALLED YARN AND SOUPER?
  610. Sections 27.00, 28.00 and 29.00 have very detailed instructions. 
  611.  
  612.  
  613. 13.00  HISTORY
  614. YARNDIAL started out as a ReXX program which in the beginning did 
  615. little more than do the work of an flock of OS/2 batch (.CMD) 
  616. programs to automate dialup, automate the operations of Souper and 
  617. Yarn to get mail and news and send mail and posts, and - to create 
  618. a user-friendly menu-driven installer and to creatthen close the 
  619. connection.  ReXX offered an easy-to-program user interface for 
  620. unattended operation once YARNDIAL was started. ReXX allowed me to 
  621. set up menus much more easily than with batch programs.
  622.  
  623. The earliest versions of YARNDIAL were configured by editing them 
  624. with a text editor.  As more and more features and variables were 
  625. added through a succession of beta versions, editing became more 
  626. extensive and required more knowledge on the part of the user.  
  627. Thus, configuration by editing YARNDIAL.CMD was both tedious and 
  628. prone to user error.
  629.  
  630. I decided -- starting with v. 1.3 -- to develop an installer to provide
  631. a friendlier set up.  The installer (YDINSTL.CMD) creates a unique data 
  632. file in each Yarn user's home directory to store parameters.
  633. YDINSTL.CMD does its thing with minimal need to study this external
  634. documentation you are now reading.  Most input screens either request
  635. the input of information twice so that verification is accomplished by
  636. duplication, or it checks for existence of files or directories and
  637. accomplishes verification automatically.
  638.  
  639.    13.10   VERSION HISTORY
  640.       13.11   YARNDIAL.CMD AND ITS COMPANION INSTALLER
  641.                YDINSTL.CMD
  642.  
  643. 24 Sep 96   GA Release 1.40 (YARNDIAL.CMD and YDINSTL.CMD)
  644.    Versions set to 1.40 for both YARNDIAL and YDINSTL.
  645.  
  646.    Fixed bug that interfered with correct recognition of an existing
  647.    IN-JOY session.  Output from running nslookup.exe is now examined
  648.    to further aid in pinning down details of such a session.
  649.  
  650.    Minor changes in optional kill-connection-on-exit capability.
  651.    Other small changes and features added. 
  652.  
  653.    
  654. 15 Aug 96 - 17Sep96 versions 1.32x - 1.34(beta) (several)
  655.    For IN-JOY dialer, added ability (optional) to wipe out phantom   
  656.    router interfaces left up after IN-JOY shuts down.
  657.  
  658.    Further improvement in router interface recognition.
  659.  
  660.    Optional prompting during the install for all parameters 
  661.    needed to run Souper, so you do not absolutely need to set up 
  662.    slippm.exe to use (for example) in-joy.  Configuration of 
  663.    slippm for installation of YARNDIAL for dialers other than the   
  664.    IAK dialer and SLIPPM itself and ILINK/2 is still strongly  
  665.    recommended as it is a time-saver.
  666.  
  667.    Added feature that YARNDIAL can be run either to kill the 
  668.    connection or not to kill it when YARNDIAL finishes.  
  669.    Improved ability to distinguish which connection is up if one   
  670.    is up when YARNDIAL starts.
  671.  
  672.    Eliminated need for tempfile in wait-for-interface routines.
  673.  
  674. 11 Aug 96 v. 1.32(beta)
  675.    Changed the YARNDIAL wait-for-interface and related subroutines
  676.    to accomodate a changed netstat.exe released as part of the 
  677.    Merlin beta.
  678.  
  679.    Changed menuing of dialer support in the installer.  ILINK/2 is 
  680.    now supported as a menu item. You can also specify other   
  681.    dialers not specifically mentioned in dialer menus.
  682.  
  683. 25 Jul 96 v. 1.31 (beta)
  684.    Improved error-trapping.  Added variable to toggle error-
  685.    trapping on and off in both YARNDIAL.CMD and YDINSTL.CMD using 
  686.    the new local_error_trapping variable.
  687.         
  688. 19 Jul 96 v. 1.3 (beta)
  689.    Numerous additions, major cleanup of the code.  Added a 
  690.    separate installer (YDINSTL.CMD, v. 09(beta)).
  691.  
  692. 11 Jun 95        YRNDIAL1 (v 1.1) (NO INSTALLER)
  693.    Fixed screwed up backing up of replies .Zip file
  694.  
  695. 11 Jun 95        YARNDIAL (1.0, original)
  696.  
  697.  
  698. 14.00  SHOULD YOU UPGRADE ANYTHING BEFORE YOU INSTALL?
  699. If you are using the Warp IAK Dialer, or using (or intend to use) 
  700. the IBM Dial-Other-Internet-Providers utility (SLIPPM), you may 
  701. need to update. That should be available by connecting to an 
  702. updates ftp site.  See Section 33.00 for reference to a link. 
  703.  
  704.  
  705.    14.10   SOUPER
  706. There were some major changes in recent SOUPER versions.  You 
  707. should be using SOUPER 14 or 15.  I cannot be sure earlier 
  708. versions will be able digest all of the command-line arguments I 
  709. have tacked on to Souper when YARNDIAL runs. 
  710.  
  711.  
  712.    14.20   IBM/ADVANTIS IAK DIALER
  713.             (FOR CONNECTION TO ADVANTIS ONLY)
  714. If your dialer is version lower than 1.33, you should upgrade.  As 
  715. of this writing the latest dialer is v. 1.65.  You can upgrade by 
  716. signing on to Advantis in the usual way, double clicking on the 
  717. Retrieve Software Updates Icon, and downloading the latest Dialer.  
  718. Installation is automatic if you go that route.  Upgrades may also 
  719. be available off ftp sites supported by IBM/Advantis.
  720.  
  721.    14.30   SLIPPM.EXE (DIAL-OTHER-INTERNET-PROVIDERS UTILITY
  722.             AND SLIP UPGRADES)
  723. This utility allows you to connect to a provider other than 
  724. Advantis by either SLIP or PPP, but you may need to get the most 
  725. recent version or update SLIP and TCPIP.
  726.  
  727. If you installed TCPIP and Internet Access as part of a Warp 
  728. Connect installation, you are OK.  (Note: If you installed Warp 
  729. Connect, you should have installed the Internet Connection 
  730. features only as part of the Warp Connect installation or in a 
  731. post-installation using one of the Selective Install icons in the 
  732. Warp Connect OS/2 System folder, not from the Bonus Pak).
  733.  
  734. If you are running Warp 3.0 (not Warp Connect) you will have 
  735. installed the Internet Access Kit from the Bonus Pak.  You should 
  736. upgrade to SLIPPM v 2.0 and the latest TCPIP, if you have not 
  737. already done so.  That should be available by connecting to an 
  738. updates ftp site.  See Section 33.00 for reference to a link.
  739.  
  740.  
  741. 15.00   BEFORE YOU RUN YDINSTL.CMD
  742. Yarn and Souper must be correctly installed.
  743.  
  744. You must be able to connect with your Internet Service Provider 
  745. with the IAK Dialer, SLIPPM, IN-JOY, ILINK/2, a PPP dialup string, 
  746. or a SLIP dialup string, or some other dialer. 
  747.  
  748. If you are just using the IAK Dialer,  you do not need to set up 
  749. to connect via SLIPPM, the Dial-Other-Internet-Providers 
  750. utility.  If otherwise, you should go through the motions of 
  751. setting up the SLIPPM to connect to your provider.  And in setting 
  752. up SLIPPM, you MUST fill in the names of your news server, your 
  753. mail gateway (i.e., your SMTP server), your POP mail server, your 
  754. pop login ID, and your pop password even though those are not 
  755. mandatory parameters for operation of SLIPPM.  
  756.  
  757. WHY DO THIS?
  758. Unlike SLIPPM, IN-JOY is a connect-only program and does not store 
  759. such information as news server, mail gateway, or other similar 
  760. information which programs like YARNDIAL needs as parameters.  
  761. SLIPPM and the IBM/Advantis IAK Dialer do, using their respective 
  762. .INI files, TCPOS2.INI and DIALER.INI.  Furthermore, SLIPPM.EXE, 
  763. PPP.EXE, SLIP.EXE use the TCPOS2.INI file to record information 
  764. about the current connection.  IN-JOY does not write to TCPOS2.INI 
  765. but does have some information aboutr the current connection in 
  766. the RESOLV file.
  767.  
  768. This behind-the-scenes use of the DOIP utility applies to use of a 
  769. PPP.EXE or SLIP.EXE dialup string, and use of most other dialers 
  770. including IN-JOY and excluding only the IAK dialer.  IN-JOY does 
  771. not store all of what is important for YARNDIAL's purposes.  
  772. Rather IN-JOY just dials and connects.  
  773.  
  774.  
  775. 16.00   NOTES ON USING THE IN-JOY DIALER
  776. When you set up IN-JOY, it is strongly recommended that you assign 
  777. a unique interface name for each IN-JOY host connection you set 
  778. up, and different from interface names that may be in use by other 
  779. dialers or network connections.
  780.  
  781. "Interface Name" in IN-JOY is an option on the PPP page (and 
  782. presumably will be an option on the SLIP page when SLIP is 
  783. supported.  You can use up to 5 letters (all letters; no numbers)
  784. and I suggest (it is not mandatory) you use all 5 positions.  This 
  785. gives you 11,881,376 different combinations ignoring upper/lower 
  786. case distinctions and makes it overwhelmingly likely that the name 
  787. you assign will not accidentally coincide with more common, 
  788. shorter names (most common - ignoring case: PPP, SL, SLIP, LAN, 
  789. L).  Case, though valid in some interface-name discriminations, is 
  790. not important to YARNDIAL's interface-checking routines.
  791.  
  792. How to identify the current connection if the TCPOS2.INI file is 
  793. not written-to by IN-JOY?  One very easy way is if we have a 
  794. UNIQUE name for the interface.  NETSTAT.EXE -r returns active 
  795. interface routing information, and YARNDIAL can analyze that 
  796. information.  Thus, by checking first whether IN-JOY is the dialer 
  797. in use, and then comparing the router interface name against the 
  798. one in the IN-JOY host configuration data file that we stored in 
  799. YD_PARMS.DAT, we can positively ID whether an IN-JOY connection 
  800. corresponds to our YARNDIAL user.
  801.  
  802. The logic is in the get_current_connection() subroutine in 
  803. YARNDIAL.CMD and is somewhat complex.  Future versions will no 
  804. doubt see changes focussed on that area.
  805.  
  806. A PROBLEM WITH IN-JOY
  807. I have only encountered one problem with IN-JOY and that problem 
  808. is that sometimes when IN-JOY terminates it does not remove the 
  809. interface routing that NETSTAT -r sees when it checks to see if we 
  810. are connected to our provider.  Thus if a phantom interface is 
  811. left, YARNDIAL dials in, waits for the interface to appear in the 
  812. NETSTAT -r output, and it of course sees one immediately.  So it 
  813. goes on to get/send mail and news.  But we are not really 
  814. connected, so YARNDIAL will sense an error condition and quit.  
  815. Not good.
  816.  
  817. Starting with v. 1.34 of YARNDIAL, you can use (by editing 
  818. YD_PARMS.DAT) a new INTERFACE_REMOVAL variable that allows 
  819. you to optionally kill such interfaces when they are left "up" at the 
  820. conclusion of YARNDIAL.
  821.  
  822. Default is INTERFACE_REMOVAL=0 and no interfaces are removed.
  823.  
  824. SETTING INTERFACE_REMOVAL:
  825.  INTERFACE_REMOVAL=0    Use this if you regularly establish
  826.    simultaneous connections via SLIP or PPP through more than one 
  827.    COM port at a time.  But if phantom routings are left by
  828.    IN-JOY, you will have to live with the problem.  Choose this if 
  829.    you never use IN-JOY.
  830.  INTERFACE_REMOVAL=1    Deletes any routing entries left standing
  831.    but only if IN-JOY is your dialer and if the interf_prefix in
  832.    the routing entry matches IN-JOY's.  Suggestion: set the 
  833.    interface name in one of the IN-JOY OPTIONS pages to something
  834.    unique for your connection to achieve maximum selectivity 
  835.    during operation of interface_removal = 1 (an IN-JOY interface 
  836.    name up to five letters long can be used.  Letters only.)
  837.  INTERFACE_REMOVAL = 2     Regardless of the dialer and whatever is 
  838.    stored as the interf_prefix, deletes all routing entries at 
  839.    shut_down of YARNDIAL.  If you have a problem with phantom   
  840.    routings using IN-JOY and never expect to have to make 
  841.    simultaneous connections via SLIP or PPP through more than one 
  842.    COM port at a time or on your network, try setting 
  843.    interface_removal = 2.
  844.  
  845. If INTERFACE_REMOVAL is set equal to 1 or 2 and a routing is left up
  846. when YARNDIAL exits, the routing is deleted and a message indicating 
  847. deletion of the routing appears, with indication of the destination
  848. and router addresses.  The message appears after a line that starts:
  849.  
  850.    Killing dialers...
  851.  
  852. and will look like the following:
  853.  
  854.   delete net 166.72.0.0:  router 166.72.86.98
  855.  
  856. The two addresses in decimal dot notation are the respective destination
  857. and router addresses that would be reported out were NETSAT.EXE -r to
  858. be run while the phantom routing was up.
  859.  
  860.  
  861. WHY SET UP SLIPPM EVEN IF USING IN-JOY?
  862. It is a good idea to set up SLIPPM to connect to your provider 
  863. even if you have no intention of using SLIPPM to dial the 
  864. provider.  The SLIPPM setup stores parameters in the TCPOS2.INI 
  865. file in a manner which makes them most readily available to 
  866. YARNDIAL's installer.  As mentioned earlier, in setting up SLIPPM, 
  867. you MUST fill in the names of your news server, your mail gateway 
  868. (i.e., your SMTP server), your POP mail server, your pop login ID, 
  869. and your pop password.  YARNDIAL needs that information.  It is 
  870. not mandatory for SLIPPM operation.
  871.  
  872.  
  873. 17.00   ABOUT THE FIX-INTERRUPTED-IMPORT OPTION ON THE MAIN 
  874.         YARNDIAL MENU
  875. What does that do when we've selected it?  First, it assumes 
  876. soup.zip might not have been properly created.  So we try to zip 
  877. up a file named areas and the various .msg files into an archive 
  878. named soup.zip. Shouldn't do any harm if soup.zip already existed 
  879. or if we could not find areas or any .msg files.
  880.  
  881. Then it tries to import soup.zip into YARN (by running import.exe 
  882. soup.zip).  Again, no harm done if there is no soup.zip.
  883.  
  884. Then REBUILD.EXE -s is run, which tries to fix YARN's spool and 
  885. history files.
  886.  
  887. Finally REBUILD.EXE -o is run.  This action tries to rebuild 
  888. YARN's history and overview files.
  889.  
  890. You may see some zip errors.  Ignore them.  They probably mean 
  891. that the .zip file being sought was already processed.  You may 
  892. also see strange errors such as
  893.  
  894.           Assertion failed inscur <size   etc. etc >
  895.  
  896. then after the Fix-Inerrupted-Import option has gone its course, 
  897. re-run it.  It should run OK and should (hope springs eternal) 
  898. still correct things.
  899.  
  900. I've only seen that error (once) when I was importing news.  I ran 
  901. my Fix option, saw the error first time through, then ran the Fix 
  902. option again and did not see the error again.  The rebuild went 
  903. OK.
  904.  
  905.  
  906. 18.00   SOUPER COMMAND-LINE OPTIONS
  907. YARNDIAL calls up Souper with command-line options to control 
  908. whether mail or news is retrieved, or mail, posts, replies are 
  909. sent.  These command-line options can be changed or added-to by 
  910. editing the YD_PARMS.DAT file created in your home directory after 
  911. installation is completed.
  912.  
  913. These three elements in YD_PARMS.DAT
  914.  
  915.         getmail_xtra_options=
  916.         getnews_xtra_options=
  917.         send_xtra_options=
  918.  
  919. are what gets edited.  Read the Souper documentation before you 
  920. make changes.  SOUPER(.EXE) is omitted from these statements.  
  921. Thus, if you wanted to have Souper run as
  922.  
  923.         SOUPER.EXE -r
  924.  
  925. to retrieve news  without updating the NEWSRC file, you would 
  926. change getnews_xtra_options to read
  927.  
  928.         getnews_xtra_options=-r
  929.  
  930. The Souper-get-news and Souper-get-mail options are divided up 
  931. into _std_ and _xtra_.  DO NOT ALTER OR EDIT the _std_ options.  
  932. They are set up to separate getting mail and getting news so that 
  933. you can choose one, the other, or both. 
  934.  
  935. The _std_  options all have Souper running with its -i option.  
  936. Souper -i  ensures that the configuration settings for Souper such 
  937. as mail server, mail gateway, news server, etc., all come from 
  938. YD_PARMS.DAT.
  939.  
  940. YDINSTL allows you to choose the  -k option (set maximum size of 
  941. news-packet), the -l option (that's a lower case "L") (kills 
  942. articles that contain more than some number you set of lines in 
  943. the body), and the -a option (new newsgroups added).  YARNDIAL 
  944. allows you to revise settings on a one-time-only basis for -k and 
  945. -l options.  It also lets you choose the -r option on a one-time-
  946. only basis but only lets you change it for mail.  If you select 
  947. read-only, you do not empty your POP3 mailbox of mail that you 
  948. retrieve.  I use this when I am retrieving mail at a machine other 
  949. than my "home" machine.
  950.  
  951. FROM YARNDIAL you can also call up the -c option on a one-time-
  952. only basis (catch up on news: mark as read all but last n articles 
  953. in each newsgroup).
  954.  
  955. Any of the Souper command-line options except -c can be set by 
  956. editing YD_PARMS.DAT.  If you edit, edit (add, remove, change) 
  957. the _xtra_options entries.  Don't mess with the _std_options ones.
  958.  
  959. The -c option cannot usually be added as an option by simply 
  960. editing YD_PARMS.DAT because Souper expects -c to be used like so:
  961.  
  962.         Souper -c 100
  963.  
  964. or together with the -i option:
  965.  
  966.         Souper -i -c 100
  967.  
  968. YARNDIAL, when you select to do catchup, runs the latter example 
  969. of use of the -c option.
  970.  
  971. When you are connected to your news server and Souper -c xxx is 
  972. run, article numbers marked as read are appropriately incremented 
  973. in your NEWSRC file.  Then, while still logged on to your news 
  974. server, YARNDIAL then passes you to a new menu where you can hoose 
  975. to actually download the remaining unread ones, or get mail, or 
  976. send, etc.
  977.  
  978.  
  979. 19.00   ISSUES THAT MAY COME UP DURING OR AFTER INSTALL
  980. A unique YD_PARMS.DAT parameter file is created for each 
  981. installation.  It is stored in the home directory which is also 
  982. unique for each user.  ALL user-definable parameters needed by 
  983. YARNDIAL are in that file so that in theory the file may be 
  984. manually created, without going through YDINSTL.
  985.  
  986.  
  987. 20.00   MANUAL INSTALL
  988. If you are about to try a manual installation (not recommended), 
  989. an install option is provided that will prompt you for key 
  990. parameters.  It usually will provide a functional installation at 
  991. that point, but if it does not, you will need to edit YD_PARMS.DAT 
  992. to complete the installation.  Godd luck!  It is much easier to 
  993. configure SLIPPM!
  994.  
  995. "I'VE GOT MY PPP.EXE or SLIP.EXE DIALUP STRING AND IT WORKS"
  996. Set up the SLIPPM Dial-Other-Internet-Providers utility anyway 
  997. because YDINSTL needs its parameter library.
  998.  
  999. Run YDINSTL.CMD  selecting connection_type as 3, and after the 
  1000. installation is done, edit dialup_string in the YD_PARMS.DAT file, 
  1001. setting 
  1002.  
  1003.   dialup_string='start' /N abracadabra
  1004.         (where abracadabra your complete dial up string which will 
  1005.         start with PPP.EXE or SLIP.EXE and extend on forever)
  1006.  
  1007. The 'start' is important (it is START.EXE).
  1008.  
  1009.  
  1010. 21.00   MANUAL INSTALL: THE PASSWORD PROBLEM
  1011. We encode passwords in YDINSTL.CMD so they will not be exposed in 
  1012. their original form in YD_PARMS.DAT to the casual eye.  When 
  1013. YARNDIAL runs, it dencodes them.  If you are trying to manually 
  1014. configure YD_PARMS.DAT, you may need to create encrypted passwords 
  1015. for the adv_password, PWD and POP_PWD fields.
  1016.  
  1017. This can be done with YDINSTL.CMD using its ENCRYPT command-line 
  1018. option.  If you run YDINSTL.CMD from an OS/2 command line as 
  1019. follows:
  1020.  
  1021.         YDINSTL.CMD encrypt MyPassword
  1022.  
  1023. you will see a line on the screen
  1024.  
  1025.         encrypted=xxxxxxxxxxx
  1026.  
  1027. where xxxxxxxxxxx will be the encryption of MyPassword.  Other 
  1028. help info will be displayed.  The number of characters in the 
  1029. encrypted string will be indicated.
  1030.  
  1031. Reference will also be made to a file named word.$$$, which is 
  1032. created in the same directory from which YDINSTL.CMD with the 
  1033. encrypt option was run.  The file will contain the same line of 
  1034. text that was echoed to the screen, and will also indicate the 
  1035. length of the encrypted password to aid in accurately cutting-and-
  1036. pasting it into YD_PARMS.DAT.
  1037.  
  1038. Hint: Change to the directory in which YDINSTL.CMD resides before 
  1039. running YDINSTL.CMD encrypt MyPassword
  1040.  
  1041.  
  1042. 22.00  CONNECTION_TYPE: THE DIFFERENT CHOICES
  1043. CONNECTION_TYPE can be 1 or 3-7.  Very rarely are you likely to 
  1044. use other than 1, 3 or 4.  Selecting 4 during install brings up a 
  1045. sub-menu of dialer options.
  1046.  
  1047.  
  1048.    1 Installed for Advantis via IAK Dialer.
  1049.    2 (Reserved)
  1050.    3 Installed for use of a slip.exe or ppp.exe dialup string.
  1051.    4 Installed for SLIPPM (IBM's Dial-Other-Internet-Providers.
  1052.      Utility) or a SLIPPM replacement such as ILINK/2, IN-JOY, 
  1053.      etc.
  1054.    5 You chose manual configuration: to be prompted for key 
  1055.      parameters
  1056.      followed by manually editing this file as necessary.
  1057.    6 Pot-Luck:  Tries to use any connection that happens to be
  1058.      established.  Connection must be made BEFORE you start 
  1059.      YarnDial.
  1060.    7 Like 6, but does not check for a connection, and uses the 
  1061.      string
  1062.      in dialup_string to dial.
  1063. Anything but 1 or 3-7 for connection_type is an error 
  1064. condition.
  1065.  
  1066.  
  1067. 23.00  MORE ABOUT DIALUP_STRING: A PROGRAMMING NOTE
  1068. YARNDIAL executes dialup_string by doing:
  1069.  
  1070.                  interpret dialup_string
  1071.  
  1072. What you enter for dialup_string should consist of the OS/2 
  1073. executable, the word start (which is the OS/2 executable 
  1074. START.EXE), plus the dialer executable such as ppp.exe, 
  1075. slippm.exe, etc., plus any arguments.  Quotes are used where 
  1076. appropriate for OS/2 executables.  The positioning of quotes is 
  1077. beyond the scope of this document, but if you have problems, I'll 
  1078. be glad to try to help (jlevy@ibm.net).
  1079.  
  1080. Omit the word interpret but always include start.  Depending on 
  1081. your dialer, you may or may not want to run 'start /N' or 'start' 
  1082. without the /N or 'Start /c'.  For IN-JOY, the /c should be used 
  1083. so the OS/2 window is closed after all is done; for SLIPPM it 
  1084. should not be used.
  1085.  
  1086. Below are actual, working, verbatim dialup_strings for real 
  1087. installations.  Where host_app or account or user, etc., appear as 
  1088. arguments, those arguments are evaluated to what values the 
  1089. variables in question have assigned to them.
  1090.  
  1091. A slippm dialup_string (connection_type 4):
  1092.  
  1093.         dialup_string='start SLIPPM.EXE' host_app
  1094.  
  1095. A dialup_string for use of the IAK Dialer (connection_type 1):
  1096.  
  1097.         dialup_string='start DIALER.EXE' account user password
  1098.  
  1099. A dialup_string for the IN-JOY Dialer ( connection_type 4).  Note 
  1100. here we need to change to the IN-JOY directory before executing 
  1101. IN-JOY.EXE:
  1102.  
  1103.        dialup_string=do; 'D:'; 'cd D:\IN-JOY09'; 'start /N D:\IN-
  1104. JOY09\IN-JOY.EXE' host_app; end
  1105.  
  1106. In all of the above, YARNDIAL's use of the ReXX function interpret 
  1107. in execution of the string will mean that host_app is evaluated to 
  1108. whatever is assigned to it in YD_PARMS.DAT.
  1109.  
  1110.  
  1111. 24.00  ZIP AND UNZIP FILES
  1112. You can probably use a lot of different compression/uncompress 
  1113. utilities.  Having used InfoZip OS/2 zip and unzip executables now 
  1114. for years, there is in my opinion no reason not to prefer them.  
  1115. The installation as much as invites you to be using them.  I am 
  1116. assuming that if you don't use OS/2 InfoZip utilities you are in 
  1117. their place using PkWare's version 2.04G zip and unzip programs.  
  1118. If you are using something else, there is some help provided below 
  1119. but my own experience curve is a blank.
  1120.  
  1121. 25.00 COMPRESSION EXECUTABLES: OS/2 VERSUS MS-DOS 
  1122. If the zip and unzip programs are OS/2 executables (e.g., as the 
  1123. OS/2 ports from InfoZip), YD_PARMS.DAT will show only the program 
  1124. names (with paths), along with the appropriate options.  The 
  1125. latest InfoZip utilities for OS/2 can be downloaded as archives 
  1126. unz520x2.zip and zip21x2.exe or zip21c2.exe.
  1127.  
  1128. If the compression utility programs are MS-DOS executables (e.g., 
  1129. PkWare's PkZip v 2.04G), you must have the OS/2 command processor 
  1130. call them. OS/2's default command processor is CMD.EXE and it 
  1131. should be used with the /c option, so set  
  1132.  
  1133.          zip_exe=cmd.exe /c zip    plus options                                         
  1134.  
  1135. Examples of zip and unzip options
  1136.         For OS/2 InfoZip                zip -0m
  1137.         For OS/2 InfoZip                unzip -o
  1138.  
  1139.         For MS-DOS PkWare        zip -m -u -o
  1140.         For MS-DOS PkWare        unzip -o
  1141.  
  1142. 26.00  SOME OTHER BREED OF COMPRESSION UTILITIES?
  1143. If you want to use another pair of compress/uncompress utilitites, 
  1144. you will need to set them up carefully.  Have the command 
  1145. processor call the utilities if they are MS-DOS and not OS/2 
  1146. executables, and set the respective compress and uncompress 
  1147. options based on the documentation provided for the particular zip 
  1148. and unzip utilities.
  1149.  
  1150. To help decide on options for some unconventional choice of zip 
  1151. and unzip utilities, you must know what the options do.  Those for 
  1152. the InfoZip programs are decoded below:
  1153.  
  1154.         ZIP -0m   (That's a zero not a letter "O") (This is 
  1155.            the  -0 option combined with the -m option)
  1156.            -0 means we import the files into the zip package 
  1157.            with no compression.
  1158.  
  1159.            The -m option means we move files in, replacing any 
  1160.            of the same name, and once they are in we erase the 
  1161.            originals.
  1162.  
  1163.         UnZIP -o  (That's a lower case letter "o" not a zero.)
  1164.            -o overwrites files without asking
  1165.  
  1166.  
  1167. 27.00  FILES FOR SETTING UP YARN AND SOUPER FROM SCRATCH
  1168.         Section 29.00 is a detailed roadmap for the 
  1169. installation of YARN and SOUPER.  It assumes you are doing a 
  1170. single-user installation or installing for the first user in a 
  1171. multi-user installation.  Section 28.00 covers the installation of 
  1172. the three optional files.  Refer to Section 33.00 for sources of 
  1173. these files.
  1174.  
  1175. Files needed:
  1176.    EMXRT09B.ZIP      (optional if Souper is version 14 or 
  1177.                         higher, but still recommended)
  1178.    METAMAIL.ZIP      (optional but recommended)
  1179.    MIME64.ZIP        (optional but recommended) (other mime en- 
  1180.                         or de-coders are available)
  1181.    SOUPER15.ZIP      latest version
  1182.    YRN2_091.ZIP     latest version. YRN2_090.ZIP is more readily 
  1183.                     available.
  1184.  
  1185.  
  1186. 28.00  INSTALLATION OF EMXRT09B, METAMAIL, MIME64 (RECOMMENDED)
  1187.  
  1188.    28.10   EMXRT09B.ZIP (OPTIONAL depending on Souper version) 
  1189. Souper versions 14 or higher do not require this.  However, this 
  1190. is needed if you want to use metamail to handle mime-encoded 
  1191. attachments.  It is also needed if you intend to use programs such 
  1192. as mime64 to encode into mime for attachment to mail and posts, or 
  1193. to decode mime messages outside of the Yarn and metamail 
  1194. environment.  It is recommended you install emxrt regardless of 
  1195. the version level of Souper you are using.
  1196.  
  1197. Installation of EMXRT:
  1198. Copy emxrt09b.zip into an empty folder (on an HPFS drive if you 
  1199. have a choice) and unzip, retaining directory structure.  Use of 
  1200. the InfoZip utilities (latest unzip is in unzip520x2.zip) 
  1201. automatically retains the directory structure as a default option.  
  1202. If you use MS-DOS PkWare unzip utility (pkunz204.zip) you need to 
  1203. unzip with the command:  unzip -d emxrt09b to retain the directory 
  1204. structure.
  1205.  
  1206. EMXRT09B.ZIP when it unzips creates an emx parent folder (most 
  1207. .zip archives do not create a parent folder).  There are a lot of 
  1208. files in emxrt09b.zip and it just makes good sense to unzip it 
  1209. into a separate directory to contain everything in case of an 
  1210. unzipping error.  In which case there is only one folder cleanly 
  1211. isolated to delete.
  1212.  
  1213. After unzipping, open the temporary folder and you should see only 
  1214. one folder named emx.  If not, and you see a horrendous number of 
  1215. files, that means you did not re-create the directory structure.  
  1216. You need to!
  1217.  
  1218. Assuming you only see the one folder named emx, drag that to 
  1219. whatever disk you want to install emx to (lets assume D:).  Now 
  1220. you have a D:\emx subdirectory with all of the emx files in 
  1221. subdirectories under d:\emx.  You can now delete the emxrt09b.zip.  
  1222.  
  1223. Edit your CONFIG.SYS file.  Add
  1224.         D:\emx\dll to the LIBPATH statement
  1225.         D:\emx\bin to the PATH statement
  1226.  
  1227. Reboot to complete the installation of emxrt.
  1228.  
  1229.  
  1230.    28.20   MIME64.ZIP (OPTIONAL) (Utility to encode/decode mime) 
  1231. Same procedure as for metamail.  Create a directory d:\mime64 and 
  1232. unzip mime64.zip into it.  No need for any changes in CONFIG.SYS.
  1233.  
  1234. Using MIME64:  see Section 28.323  DECODING MIME WITH MIME64.EXE.
  1235.  
  1236.  
  1237.    28.30   METAMAIL.ZIP (OPTIONAL)
  1238. Metamail is needed if you want to be able to decode incoming mime 
  1239. attachments, or attach encoded ones automatically from within 
  1240. Yarn.
  1241.  
  1242. Installation of Metamail:
  1243. Create a subdirectory named metamail on the drive where you want 
  1244. to install it (create, say, d:\metamail).  Place on an HPFS drive 
  1245. if you have a choice.  Copy metamail.zip into that empty folder, 
  1246. and unzip it, retaining any subdirectory structure.  I do NOT add 
  1247. metamail to my path statement in CONFIG.SYS; but rather, I include 
  1248. the full path to metamail in the Yarn CONFIG file so in Yarn's 
  1249. CONFIG file I might have
  1250.  
  1251.       decode-mime=d:\metamail\metamail %f
  1252.  
  1253. That is the most common way.  Alternatively, you could use
  1254.  
  1255.       decode-mime=cmd.exe /c d:\metamail\meta.cmd %f
  1256.  
  1257. where you call metamail from a .CMD file (here META.CMD).  An 
  1258. example of such a .CMD file is provided further on.  There are 
  1259. advantages from calling metamail from a .CMD file which we will 
  1260. cover later.
  1261.  
  1262. Finally, to complete the metamail installation, we will create a 
  1263. file called MAILCAP.YRN, saving it to the d:\metamail directory.  
  1264. Mine contains the following lines at present.  Your graphics 
  1265. viewer could be different.  There are also text editors that do 
  1266. more (in the context of metamail usage), but the basic OS/2 System 
  1267. Editor (E.EXE) is adequate.  You get the idea, though, with this 
  1268. example.  Section 28.32  (Metamail Attachments, Operation, 
  1269. Decoding) explains a bit about what some of these lines do.
  1270.   
  1271. NOTE:  the FORWARD slashes below are correct, even for the paths:  
  1272. a holdover from the UNIX origins of the metamail.exe port to OS/2
  1273.  
  1274. # MAILCAP.YRN
  1275. text/plain; e.exe %s
  1276. text/*; e.exe %s
  1277. image/gif; d:/pmview/pmview.exe %s
  1278. image/jpeg; d:/pmview/pmview.exe %s
  1279. image/jpg; d:/pmview/pmview.exe %s
  1280. image/*; c:/viewer/bin/ib %s
  1281.  
  1282.  
  1283. Finally, modify your CONFIG.SYS file, adding
  1284.  
  1285.                 set mailcaps=d:\metamail\mailcap.yrn
  1286.  
  1287. For some (DOS) programs that some people like to call up from 
  1288. mailcap files, it is useful to also add 
  1289.  
  1290.                 device=c:\os2\mdos\ansi.sys
  1291.  
  1292. After you have edited CONFIG.SYS, reboot.
  1293.  
  1294. My own preference is to write out e-mail with mime-encoded 
  1295. messages to disk as files (when you read the message in YARN, 
  1296. press the s key (lower case "S"), enter the full path and name to 
  1297. save it as (say d:\thing.txt), and press enter to save.  Then I 
  1298. decode with MIME64 (see Section 28.323  DECODING MIME WITH 
  1299. MIME64.EXE).
  1300.  
  1301.  
  1302.       28.31  METAMAIL TRICKS
  1303. When the content-type of a mime-encoded attachment is not 
  1304. supported by a local viewer, metamail gives you the option to save 
  1305. the decoded attachment to a file.  You are asked for a file name 
  1306. to save to (if you don't provide any -- that is, if you just press 
  1307. ENTER -- nothing is saved even though you may see a default 
  1308. filename on the screen).  You must type in a name.
  1309.  
  1310. You can specify drive and path, but if you do not specify drive 
  1311. and path, the default path is your yarn home directory.  This is 
  1312. not a good thing, since, if the name of the file happens to 
  1313. coincide with the name of a file already in that destination 
  1314. directory, you will overwrite the existing file.
  1315.  
  1316. To re-define the default directory for this operation, you can 
  1317. call metamail with a command file that changes to a new default 
  1318. directory first. 
  1319.  
  1320. To make this change:
  1321. alter the decode-mime line in your yarn config file to
  1322.  
  1323. decode-mime=cmd.exe /c d:\metamail\meta.cmd %f
  1324.  
  1325. This will call metamail.exe from a .CMD file, META.CMD, an example 
  1326. of which could be:
  1327.  
  1328. /* META.CMD */
  1329. /* alters default directory
  1330. and then runs metamail*/
  1331. parse arg fn
  1332. '@echo off'
  1333. 'd:'
  1334. 'cd d:\inetdata'
  1335. 'metamail.exe' fn
  1336.  
  1337. d:\metamail is the directory where metamail resides and is where 
  1338. META.CMD will be saved to.
  1339.  
  1340. d:\inetdata is a directory where you will save all decoded files.  
  1341. it is a useful security practice to keep downloaded and decoded 
  1342. files in one place where you can conveniently do virus-checking, 
  1343. etc., before they travel far and wide into your file structure.
  1344.  
  1345. The new default directory MUST EXIST because metamail will not 
  1346. create the directory if it does not exist.
  1347.  
  1348.  
  1349.      28.32  DOING ATTACHMENTS UNDER YARN, METAMAIL OPERATION, 
  1350.             DECODING MULTIPART MESSAGES, AND HANDLING NON-
  1351.             CONFORMING MIME ATTACHMENTS
  1352.  
  1353. In a MIME encoded attachment which has been correctly attached 
  1354. from within YARN, the attachment will be at the end of the e-mail
  1355. or if several in number, in succession at the end with a lot of 
  1356. boundary and other conditions met.  If conditions are not all met, 
  1357. the message(s) will not be decoded directly by metamail, but 
  1358. metamail may give you the opportunity to save the message (or 
  1359. messages if more than one), or it may not.  Not to worry: if 
  1360. metamail doesn't decode, you can still save the entire e-mail as 
  1361. text and that text file can be readily decoded without grief by 
  1362. MIME64.
  1363.  
  1364.      28.321  DOING ATTACHMENTS UNDER YARN, ETC.
  1365. To attach:
  1366. 1.  Post and article, followup, send an e-mail, etc. and get the 
  1367. ball rolling by pressing r, R, f, F or M from within YARN.
  1368. 2.  After composing any e-mail text ("Hello, how are you? A file 
  1369. is attached."), go to the very end of the e-mail and press enter.  
  1370. The mime attachment will go where your cursor is and this ENTER 
  1371. assures you of placing the MIME attachment AFTER a carriage 
  1372. return-linefeed (for that reason I always put an extra carriage 
  1373. return at the end of my yarn sig file so that my e-mails always 
  1374. end on a CRLF and not on the last letter of my sig).
  1375. 3.  Save, exit the editor.
  1376. 4.  Yarn will present several choices (depending on Yarn version):
  1377.    CANCEL
  1378.    CHECK SPELLING
  1379.    EDIT
  1380.    ATTACH FILE
  1381.    SEND
  1382. 5.  Select ATTACH FILE.  You will be prompted for the file name 
  1383. and a description.  Then press enter and a mime-encoded attachment 
  1384. will be placed where your cursor was.
  1385. 6.  Not done Yet.  Save and exit the editor again and select EDIT 
  1386. from among the choices presented by Yarn.
  1387. 7. Go down to where the boundary for that attachment is.  Here is 
  1388. a real-life example of what you will see.  
  1389.  
  1390.    --1Pz6vtT0gbQ2XEw
  1391.    Content-Type: application/octet-stream; name="yrndl132.zip"
  1392.    Content-Transfer-Encoding: base64
  1393.    Content-ID: <OgkDyo6G7myK091yn@ibm.net>
  1394.    Content-Description: yarndial + ydinstl .cmd files +read.me
  1395.  
  1396.    UEsDBBQAAAAIAIc1CyHqvnr/3ms  (etc., start of encoded 
  1397. attachment)
  1398.   
  1399.  
  1400. For a zip file, any other binary, or even a text file, metamail 
  1401. will decode this and allow you to save it as a binary with a 
  1402. default name suggested by metamail of yrndl132,zip.
  1403.  
  1404. But suppose this file was a graphic name MyDog.gif.  You could 
  1405. leave it as is and let your recipient save it as a file.
  1406.  
  1407. Or you could edit the content-type line, e.g., changing from
  1408.  
  1409.    Content-Type: application/octet-stream; name="mydog.gif"
  1410.  
  1411. to   
  1412.  
  1413.    Content-Type: image/gif; name="mydog.gif"
  1414.  
  1415. or just
  1416.  
  1417.    Content-Type: image/gif;
  1418.  
  1419. (refer Section 28.324)
  1420.  
  1421. If your recipient has the same MAILCAP file shown above as our
  1422. MAILCAP.YRN, when metamail asks: "process this mime attachment?" 
  1423. and you respond "Y", it will decode the attachment, start up your 
  1424. viewer (PMVIEW in our mailcap.yrn example), open the decoded .GIF 
  1425. file and display it.  If you want to save it as a file, you do 
  1426. that from PMVIEW (using save-as).
  1427.  
  1428. Note from this YOU NEVER WANT TO PUT a line like
  1429.    application/zip; unzip.exe %s
  1430. in your mailcap file, because it would unzip the .ZIP archive and 
  1431. if there was a directory structure, it could replace existing 
  1432. files with no opportunity for you to exercise control.
  1433.  
  1434. 8a.  Still Not done Yet.  Save and exit the editor again.  You can 
  1435. do another attachment (select ATTACH again, repeat steps 2-7).
  1436.  
  1437.    or
  1438.  
  1439. 8b.  If you have no more attachments, just select SEND and you are 
  1440. done.
  1441.  
  1442. In this example, after the first attachment, we really have a 
  1443. multipart MIME message.  The first is the original text 
  1444. ("Hello...", and its content line will read something like
  1445.  
  1446.    Content-Type: text/plain; charset=ISO-8859-1
  1447.  
  1448. this will be opened by our E.EXE editor which our mailcap.yrn file 
  1449. activates for text/plain content-types.
  1450.  
  1451. Then when you've read the message, and you exit the editor, the 
  1452. second part (the image in our example) is opened by PMVIEW.EXE. 
  1453.  
  1454.    
  1455.      28.322  DECODING NON-CONFORMING MIME ATTACHMENTS
  1456. If you were attaching a message and your cursor was not at the end 
  1457. of your e-mail text (say it was above your signature), you would 
  1458. be INSERTING and not ATTACHING (one way to think of it), so the  
  1459. attachment would go at the cursor position instead of at the end 
  1460. of the e-mail.  Metamail may not (will not?) recognize this e-mail 
  1461. as having a valid attachment and will (may) present you with a 
  1462. message to the effect: "can't recognize this, do you want to save 
  1463. as text or ignore?".  This will also happen if the initial 
  1464. boundary (something that starts with two hyphens and 
  1465. looks like this
  1466.  
  1467.           --gc0p4Jq)M2Yt08jU534c0p
  1468.  
  1469. but is not preceded by a carriage return (.ie., is in the middle 
  1470. of a text line like on this line--gc0p4Jq)M2Yt08jU534c0p.
  1471.  
  1472. Metamail may let you save the e-mail as text (say as THING.TXT).  
  1473. Alternatively, From Yarn, after Metamail asks you ("Decode Mime?") 
  1474. you could respond "N", then save the e-mail as text yourself.  To 
  1475. do that, press s (lower case "S") while you are reading the e-mail 
  1476. and after you have responded "N" to "Decode Mime?";  in the window 
  1477. that appears enter the filename to save to with full path, and 
  1478. press Enter to complete the save. 
  1479.  
  1480. Now decode that with MIME64 (next Section). 
  1481.  
  1482.      28.323  DECODING MIME WITH MIME64.EXE
  1483. Say we have saved d:\thing.txt as an e-mail with a single mime-
  1484. encoded attachment.  Even if the attachment did not exactly 
  1485. conform to what metamail expects, running
  1486.  
  1487.         mime64 d:\thing.txt
  1488.  
  1489. will extract and simultaneously decode, producing a file 
  1490. $$$$$$$$.$$$ which you can now rename to .zip or .JPG or .TXT or 
  1491. whatever type it was supposed to be.
  1492.  
  1493. Or you could run
  1494.  
  1495.         mime64 d:\thing.txt yrndl132.zip
  1496.  
  1497. and have it create the correct filename.
  1498.  
  1499. Always: I virus check at that point before I do anything more with 
  1500. it.
  1501.  
  1502. I've never mastered how to use the MIME64 program when the text 
  1503. file being decoded contains more than one MIME-encoded 
  1504. attachments, but if you use a text editor to separate the text 
  1505. file you had saved into separate mime parts (each will start and 
  1506. end with a boundary consting of a double hyphen (--) and some 
  1507. gibberish, e.g.:
  1508.  
  1509.     --gc0p4Jq)M2Yt08jU534c0p
  1510.  
  1511. MIME64 will work flawlessly on each section.
  1512.  
  1513. So edit so as to preserve the initial and final boundaries for 
  1514. each mime part, and once they are separated (precision is not 
  1515. required as long as each separate part has at least the complete 
  1516. initial- boundary-to-final-boundary encoding), simply run MIME64 
  1517. on each. 
  1518.  
  1519.  
  1520.      28.324   CONTENT-TYPE EDITING: MIME ASSOCIATIONS
  1521.  
  1522. Content-Type lines that appear in e-mail messages as part of the 
  1523. MIME attachment (i.e., between the    --gibberish    boundaries) 
  1524. may look like:
  1525.  
  1526.    Content-Type: application/octet-stream; name="yrndl132.zip"
  1527.    Content-Type: image/gif; name="mydog.gif"
  1528.    Content-Type: image/gif;
  1529.  
  1530. The Content-Type application/octet-stream represents the mime-
  1531. type/sub-type for binary files in general, i.e., for those with 
  1532. extensions: .exe, .zip and so forth.  Any file -- binary or 
  1533. otherwise -- may be typed and transmitted this way.
  1534.  
  1535. The Content-Type image/gif represents a mime-type/subtype for a 
  1536. gif type image file and if the content type in the MIME attachment 
  1537. header is
  1538.        Content-Type: image/gif; name="mydog.gif"
  1539.  
  1540. and the line
  1541.       image/gif; d:/pmview/pmview.exe %s
  1542.  
  1543. appears in your mailcap file (as it does in our MAILCAP.YRN 
  1544. example, above, replete with its Unix-based forward slashes), when 
  1545. metamail processes the coded attachment it executes the command
  1546.  
  1547.      d:\pmview\pmview.exe mydog.gif
  1548.  
  1549. The filename mydog.gif has replace %s and the program called 
  1550. (pmview.exe) opens the .GIF file mydog.gif.
  1551.  
  1552. A list of all recognized MIME media associations is available and 
  1553. a reference to such a list can be found in Section 33.00.
  1554.  
  1555. The general system for how these patterns and associations work in 
  1556. terms of the practical construction of working mailcap-file lines 
  1557. can be sketched out as follows:
  1558.  
  1559.         (1) For whatever kind of file are you transmitting, define 
  1560. the content-type/subtype association:  Examples for some image 
  1561. files: image/gif, image/jpg, image/bmp, image/tif, etc.
  1562.  
  1563. gif, jpg, bmp and tif are the subtypes; and correspond to the 
  1564. .GIF, JPG, .BMP, .TIF standard file extensions (usually the same).
  1565.  
  1566.         (2)  Select the program you want to use to open or process 
  1567. or in general act-on those kinds of files.  Construct one or more  
  1568. mailcap lines in the form shown below (remember forward slashes 
  1569. for the paths!)
  1570.  
  1571.       image/gif; d:/foodir/foobar.exe %s
  1572.       image/jpg; d:/foodir/foobar.exe %s
  1573.       image/bmp; d:/foodir/foobar.exe %s
  1574.       image/tif; d:/foodir/foobar.exe %s
  1575.       image/*; d:/somedir/somebar.exe %s
  1576.  
  1577. The last in this train says: any other file of Content-Type image, 
  1578. if its subtype is not specifcally defined by the other four, try 
  1579. to open with somebar.exe.
  1580.  
  1581.  
  1582.         (3)  Note that if the executable foobar.exe is an MS-DOS 
  1583. program, it should be called by the OS/2 command processor and 
  1584. what will appear in the MAILCAP file is
  1585.  
  1586.                 cmd.exe /c d:/foodir/foobar.exe %s
  1587.  
  1588. instead of      d:/foodir/foobar.exe %s
  1589.  
  1590.  
  1591.  
  1592. 29.00  STEP-BY-STEP-INSTALLATION OF YARN AND SOUPER
  1593. 1.        Create separate temporary directories for each of   
  1594.           YRN2_091.ZIP and SOUPER15.ZIP.  For example: create 
  1595.           d:\yarntemp for yarn and d:\souptemp for Souper.
  1596.  
  1597. 2.        Copy the yarn zipfile into d:\yarntemp and unzip.
  1598.  
  1599. 3.        Copy the Souper zipfile into d:\soupzip and unzip.
  1600.  
  1601. 4.        Decide on a name for a permanent yarn directory and a 
  1602.           permanent home directory (let's assume you use d:\yarnxx
  1603.           and d:\homexx (don't bother to create these directories 
  1604.           as they will be created for you).
  1605.  
  1606. HANDY HINT:  It is possible (my opinion, desirable) to use 
  1607. the same directory as both the yarn directory and the home 
  1608. directory.
  1609.  
  1610. 5.        Edit your CONFIG.SYS file by adding
  1611.                 SET HOME=d:\homexx
  1612.                 SET YARN=d:\yarnxx
  1613.                 SET TZ = EST5EDT
  1614.  
  1615. If you insist on using a version of SOUPER earlier than 14 also 
  1616. add
  1617.  
  1618.    SET NNTPSERVER=news-01.ny.us.ibm.net        (or whatever your 
  1619.                                                 news server is)
  1620.  
  1621. 6.        If you have another program that uses a SET HOME 
  1622. assignment, REM it out and temporarily add SET HOME=D:\HOMEXX to 
  1623. your CONFIG.SYS file (then reboot).
  1624.  
  1625. You will be able to eliminate the SET HOME and SET YARN 
  1626. assignments after the installation of YARNDIAL is complete (after 
  1627. you've run YDINSTL.CMD).
  1628.  
  1629. 7.        Do not overlook the TZ statement.  You can get errors if 
  1630. you are way out on local time, and appear to be receiving mail 
  1631. before it was sent.
  1632.  
  1633. 8.        If you are not in the eastern time zone set TZ according 
  1634. to what time zone you are in.  References at the end (Section 
  1635. ) can guide you n how to set up TZ if you live outside the US 
  1636. or in some exotic location where the time zone is set up in a 
  1637. weird way.
  1638.  
  1639. 9.        REBOOT so your new CONFIG.SYS assignments take effect.
  1640.  
  1641. 10.        Open an OS/2 window or full screen session, and change 
  1642. directory to the d:\yarntemp directory.
  1643.  
  1644. 11.        At the [d:\yarntemp] prompt type in ENGLISH D:\YARNXX 
  1645. (ou s'il tu plais, FRANCAIS D:\YARNXX ).  This creates the 
  1646. d:\yarnxx directory and copies files from the temporary directory 
  1647. over to it.
  1648.  
  1649. 12.        Copy Souper.exe from d:\souptemp to d:\yarnxx.  That's 
  1650. as good a place as any to keep it. 
  1651.  
  1652. 13.        Add your first user.  In an OS/2 Window or Full Screen 
  1653. session, change directory to d:\yarnxx.  At the [d:\yarnxx] prompt 
  1654. type in ADDUSER.EXE and press enter.
  1655.  
  1656. ADDUSER.EXE will bring up a screen requiring input of 6 
  1657. parameters.
  1658.  
  1659. For our example (remembering that I am jlevy@ibm.net), fill in the 
  1660. blanks:
  1661.  
  1662. home directory                d:\homexx   (must be what you 
  1663.                                         put in  CONFIG.SYS
  1664.                                         as SET HOME)        
  1665. user ID                       jlevy
  1666. host system                   ibm.net
  1667. User's full name              Jerry Levy
  1668. editor program                cmd /c e.exe
  1669. reply-packet file             d:\yarnxx\outgoing\ioxr.zip
  1670.  
  1671. Actually, I use the Enhanced Editor, version 6.03 which I 
  1672. have in the d:\epm6 directory.  So I enter cmd /c d:\epm6\epm.exe 
  1673. for my editor program.
  1674.  
  1675. Make sure these six items are exactly the same as what you 
  1676. have in Yarn's CONFIG when you edit it (step 19).  Note that the 
  1677. editor is always called by the command processor cmd.exe with the 
  1678. /c switch.  This allows re-entry to the editor in the event of 
  1679. successive calls.
  1680.  
  1681. Don't add any other users yet.  We'll get to that later.
  1682.  
  1683. 14.        CREATE A NEWSRC FILE IN THE HOME DIRECTORY
  1684. Use the OS/2 System Editor to create an ASCII file listing all the 
  1685. newsgroups you want to subscribe to.  After each name pace a colon 
  1686. (no space between name and colon).  These are the groups that 
  1687. SOUPER will retrieve news from.  You must also tell Yarn you want 
  1688. to add them (distinction between getting the news and setting Yarn 
  1689. up to display).  You must run NEWGROUP.EXE (see step 17) to get 
  1690. Yarn to understand that these are newsgroups you want Yarn to play 
  1691. with. 
  1692.  
  1693. Example of a NEWSRC file with two newsgroups:
  1694.  
  1695. comp.os.os2.announce:
  1696. comp.os.os2.networking.tcp-ip:
  1697.  
  1698.         Save this file as NEWSRC in the home directory 
  1699. (d:\homexx).  This NEWSRC file is owned by Souper and it records 
  1700. the article numbers you have downloaded from the news server 
  1701. ("read from the news server" even if you never read the article in 
  1702. Yarn).
  1703.  
  1704.         Another file named NEWSRC will be created automatically to 
  1705. record which articles you have read from within Yarn (really read, 
  1706. not just downloaded).  This second NEWSRC file resides in the 
  1707. home\yarn\ subdirectory (in d:\homexx\yarn in our present 
  1708. example).
  1709.  
  1710.         If you add newsgroups, you add them to the NEWSRC in the 
  1711. home directory.  You do not add them to the NEWSRC file in the 
  1712. home\yarn\subdirectory.  Leave that file totally alone.
  1713.  
  1714. Remember that whenever you add a new newsgroup, you must also run 
  1715. NEWGROUP.EXE (step 17).
  1716.  
  1717. 15.        CREATE A SIGNATURE FILE IN THE HOME DIRECTORY
  1718.         Use the OS/2 System Editor to create an ASCII file with 
  1719. how you want to sign e-mail.  For example, it could consist simply 
  1720. of something like.
  1721.  
  1722.                 Jerry Levy (jlevy@ibm.net)
  1723.                 Marblehead, MA USA
  1724.  
  1725. Hit enter twice after the last character is typed so the file ends 
  1726. in two carriage return/linefeed pairs.
  1727.  
  1728.         Save it to d:\homexx.  Whatever you name it and wherever 
  1729. you put it (I recommend putting it in d:\homexx), its name and 
  1730. path should be exactly what you set "signature" equal to in Yarn's 
  1731. CONFIG file (see step 19).
  1732.  
  1733. 16.        CREATE A LIST OF ALL NEWS GROUPS (this is a different 
  1734. file from NEWSRC)
  1735.  
  1736. (SEE ALSO: NOTE ABOUT ADDING NEWSGROUPS AFTER STEP 22)
  1737.         Create a list of newsgroups you are interested in. It's 
  1738. like the NEWSRC you created but leave out the colons.  Save it to 
  1739. d:\homexx.  Name it what you wish (say, NEWSLIST.TXT).  We use it 
  1740. for doing mass operations on keep days and max-keep days.
  1741.  
  1742.         Example:
  1743.  
  1744.                 alt.org.team-os2
  1745.                 comp.os.os2.announce
  1746.  
  1747. 17.        SET KEEP AND MAX-KEEP DAYS FOR NEWS
  1748. (SEE ALSO: NOTE ABOUT ADDING NEWSGROUPS AFTER STEP 22)
  1749.         METHOD 1:        All groups set at the same time and all 
  1750.                          set the same way
  1751. Change to the d:\yarnxx directory.  Then type in (assuming file 
  1752. you created above is called newslist.txt):
  1753.  
  1754.         NEWGROUP.EXE @e:\homexx\newslist.txt 30 30
  1755.  
  1756. and press Enter.
  1757.  
  1758.         Don't forget the @ sign and the full path to newslist.txt!  
  1759. This example sets keep days to 30 (first number) and the max we 
  1760. keep to 30 (second number).  These numbers should agree with what 
  1761. to indicated in Yarn's CONFIG file.
  1762.  
  1763.  
  1764.         METHOD 2:        Each newsgroup set one at a time, or to 
  1765.                          add new groups one at a time.
  1766.  
  1767. Note that in option1 you used the @ sign so that NEWGROUP.EXE 
  1768. acted on a file named newslist.txt.
  1769.  
  1770.         To set keep and max keep days for one single newsgroup 
  1771. and/or to add a group to your list, you don't use the @ sign. Have 
  1772. NEWGROUP.EXE act on the name of the newsgroup.  Type in:
  1773.  
  1774.         NEWGROUP.EXE comp.os.os2.announce 30 30
  1775.  
  1776. and press enter.
  1777.  
  1778. METHOD 1 is greatly to be preferred, because re-running METHOD 2 
  1779. sometimes keeps adding duplicate menu entries into yarn.
  1780.  
  1781. 18.        SET UP A MAIL FILTER RULE FOR INCOMING MAIL
  1782. This is very important:  Before you try to get mail, you must set 
  1783. up filter rules and it is useful to have one that places all 
  1784. incoming e-mail into INBOX.  I only set up this one filter rule.  
  1785. Some people like to create a regular file system with lots of 
  1786. rules.
  1787.  
  1788. Outline:
  1789.         o  At the d:\yarnxx prompt, type in FILTER.EXE and press 
  1790. enter or
  1791.         o  If you've installed YARNDIAL using YDINSTL.CMD, open 
  1792. the desktop folder you created, double click on the YARNUTIL 
  1793. utility object, and at the prompt enter FILTER.EXE and press 
  1794. enter.
  1795.  
  1796. You are now at the mail-rule window:
  1797.         -Press Insert to enter a new rule, give it a name, tab 
  1798.          to each field, and press enter when done.
  1799.         -Press your keyboard INSERT key to insert a new rule
  1800.         -Name this first rule MyMail (example).
  1801.         -Select the TO field by tabbing to it or using 
  1802.          combination of Tab and arrow keys.
  1803.         -Enter your e-mail address (e.g., jlevy@ibm.net)
  1804.         -Tab to field to enter save-in folder
  1805.         -Enter INBOX as the name (all upper case)
  1806.          (it is suggested you use the folder name INBOX for 
  1807.          your genral incoming mail)
  1808.         -Press enter to end the session.
  1809.  
  1810. If this went OK, you will see the rule MyMail.  If you don't see 
  1811. it, you didn't do this correctly so repeat.  Usually this is 
  1812. because some field (e.g, the save-to folder field) was not filled 
  1813. in. 
  1814.  
  1815. 19.        Now open the d:\homexx\yarn\CONFIG file in your OS/2 
  1816. System Editor and inspect all entries.  Edit as necessary with an 
  1817. ASCII text editor.  Superimposing my own preferences, and 
  1818. illustrating how some of the entries might look, the changes you 
  1819. might make are:
  1820.  
  1821.        =====START OF YARN CONFIG EDITING=====
  1822. These lines (at least) are changed
  1823.  
  1824. user=nobody     change to your pop mail user id 
  1825.                 (mine, e.g., is jlevy)
  1826.  
  1827. name=No Name    your name (mine is Jerry Levy)
  1828.  
  1829. host=nowhere    e.g., mine is ibm.net (stuff after 
  1830.                 
  1831. reply-packet=c:\upload\ioxr.zip
  1832.                 Here I like to use something such as 
  1833.                 d:\homexx\outgoing\ioxr.zip.  You can use whatever 
  1834.                 you want.  Keep it in the home directory, though
  1835.                 (d:\homexx in this example)
  1836.  
  1837. compress=zip -kjm %f %d/*   I recommend adding full path to the  
  1838.                                zip file
  1839. uncompress=unzip -o %f      Same here
  1840.  
  1841. #Reply-To=nobody@io.org     Remove the # and change to yours(mine 
  1842.                             is jlevy@ibm.net)
  1843.  
  1844. #signature=c:\jim\sig       Remove the # and change to  
  1845.                             d:\homexx\sig.txt, where sig.txt 
  1846.                             contains how you want to sign your e-
  1847.                             mail (e.g.,  name, city, university,
  1848.                             etc.)
  1849.  
  1850. #address-comments=on        Remove #
  1851. #sent-mail=mailed           Definitely remove #
  1852. #sent-news=posted           Definitely remove #
  1853.  
  1854. Remove the # from each of these 10 items (there is also 1 
  1855. line you leave the # in for.  It is continuation of a text 
  1856. line)
  1857.  
  1858. # %a            article number
  1859. # %C            current newsgroup name
  1860. # %f            From: header
  1861. # %i            Message-ID: header
  1862. # %n            Newsgroups: header
  1863. # %t            reply mail address derived from Reply-To: or 
  1864.                      From: header
  1865. # %[name]       value of the header named between the square  
  1866.                      brackets
  1867. # %%            % character
  1868. # %?            space character if the WORLDNETribution is 
  1869.                      less than 80 characters
  1870. # \n            new-line character
  1871.  
  1872.  
  1873. #mail-attribution=%f wrote:     Remove the #
  1874.  
  1875. #followup-attribution=In article %i,%?%f wrote:    Remove the #
  1876.  
  1877. #reply-attribution=In article %i, you wrote:       Remove the #
  1878.  
  1879. #save-directory = e:\inetdata\newsmail    Remove the # and enter 
  1880. path                            
  1881.                                           to a default directory 
  1882. into 
  1883.                                           which save-to-file mail 
  1884. goes.  
  1885.                                           The directory (newsmail 
  1886. here) 
  1887.                                           must exist, so create 
  1888. it.
  1889.                                           
  1890. keep=7            I changed this to 30 (days)
  1891.  
  1892. #max-keep=30       I removed the #
  1893.  
  1894. #next-screen-context-lines=0       Remove the #.  2 or 3 works
  1895.                                    nicely here.
  1896. #charset=iso-8859-1               Remove the #
  1897.  
  1898. #join-truncated-subjects = 21     Remove the #
  1899.  
  1900. #confirm-quit = on                I removed the #
  1901.  
  1902. #decode-mime=metamail %f     If you intend to use mime,  
  1903.                              remove the # and then insert
  1904.                              the full path e.g.,
  1905.                              decode-mime=d:\metamail\metamail %f)
  1906.  
  1907. This final bit of editing of the file concerns colors.  I don't 
  1908. like the way the default colors show up in a window, so I changed 
  1909. to this.  Purely my personal preference.
  1910.  
  1911. # USENET headers
  1912. color header lightgray blue
  1913.  
  1914. # specific USENET headers
  1915. color header-From yellow blue
  1916. color header-Subject yellow blue
  1917.  
  1918. # article body
  1919. color body white blue
  1920.  
  1921. # quoted text
  1922. color quote lightgray blue
  1923.  
  1924. # more line
  1925. color more white cyan
  1926.  
  1927. # display colors
  1928. color window-border       cyan black
  1929. color window-title        cyan black
  1930. color window-text         lightgray black
  1931.  
  1932. color list-border         cyan blue
  1933. color list-title          yellow blue
  1934. color list-text           white blue
  1935. color list-select         white green
  1936.  
  1937. color form-border         yellow blue
  1938. color form-title          white blue
  1939. color form-text           lightgray blue
  1940. color form-active         white cyan
  1941. color form-inactive       lightcyan blue
  1942.  
  1943. color menu-border         cyan blue
  1944. color menu-text           white black
  1945. color menu-select         cyan black
  1946. color menu-hotkey         lightgray black
  1947. color menu-select-hotkey  lightgray white
  1948.  
  1949. If you want to try these color settings, just copy and paste this 
  1950. whole colors Section in place of the defaults in the Yarn CONFIG 
  1951. file. Save a backup of your original Yarn CONFIG first.
  1952.  
  1953.        =====END OF YARN CONFIG EDITING=====
  1954.  
  1955.  
  1956.  
  1957. 20.   THIS COMPLETES SETTING UP YARN AND SOUPER (SINGLE USER)
  1958. At this point you can REM out or remove the SET HOME and SET YARN 
  1959. environmental settings in CONFIG.SYS.  If you don't need to, of 
  1960. course, don't bother, but if you had installed another program 
  1961. which needed its own SET HOME assignment, and you temporarily 
  1962. REMMED that out, you can now restore it.  Do not remove the SET 
  1963. TZ=   statement from CONFIG.SYS. 
  1964.  
  1965. 21.   At this point you no longer need your temporary yarn 
  1966. or Souper directories unless you plan on setting up for multiple 
  1967. users or multiple providers.  You might consider printing out 
  1968. documentation files before you wipe these temporaries out.
  1969.  
  1970. 22.   INSTALLING YARNDIAL WITH YDINSTL.CMD AND TESTING YARN 
  1971.       AND SOUPER
  1972.  
  1973. (SEE ALSO: NOTE ABOUT ADDING NEWSGROUPS AFTER THIS STEP)
  1974.  
  1975. SET UP DIALERS
  1976. If you are using either SLIPPM (the IBM Dial-Other-Internet-
  1977. Providers utility) or the ILINK/2 dialer, you MUST set up
  1978. SLIPPM and verify it can connect to your provider successfully
  1979. before you run YDINSTL.CMD to install YARNDIAL.
  1980.  
  1981. If you are using either the IN-JOY dialer, or a SLIP.EXE or
  1982. PPP.EXE dialup string to connect, you SHOULD set up
  1983. SLIPPM and verify it can conect to your provider successfully
  1984. before you run YDINSTL.CMD to install YARNDIAL.  This is
  1985. because the YARNDIAL installer (YDINSTL.CMD) can extract
  1986. parameters from the TCPOS2.INI file used to store SLIPPM
  1987. setup information. 
  1988.  
  1989. In setting up SLIPPM, you MUST fill in the names of your news
  1990. server, your mail gateway (i.e., your SMTP server), your POP
  1991. mail server, your pop login ID, and your pop password (page 3 of 
  1992. the SLIPPM settings page).
  1993.  
  1994. If you are using the IBM/Advantis IAK Dialer and it is
  1995. configured correctly, you are ready to run YDINSTL.CMD to
  1996. install YARNDIAL.
  1997.  
  1998. After that installation is completed (refer Section 1.00) you can
  1999. test YARN and SOUPER with a correctly, fully installed YARNDIAL.
  2000.  
  2001. A PRIMER ON USING YARN -- TESTING YOUR INSTALLATION
  2002. Start it by opening the desktop folder (YARNDIAL) created after 
  2003. you ran YDINSTL.  Double-click on the YARN-program object.  When 
  2004. the window opens, click in the upper-right corner to maximize the 
  2005. window.
  2006.  
  2007.         Press F1.  Brings up the help menu (all functions).
  2008.  
  2009.         Press Escape.  Returns you (to Yarn).
  2010.  
  2011.         SEND AN E-MAIL TO YOURSELF:  Press Shift M.  Fill in the 
  2012. blank(s) in the window that comes up.  Press Enter and your editor 
  2013. should start.  Type in your message.  Do SAVE, close the editor.  
  2014. The Yarn window will return.  Select SEND (should already be 
  2015. selected, so press Enter).  Press Escape to exit Yarn.  Now start 
  2016. YARNDIAL, and when the menu comes up, select the Export option.
  2017.  
  2018.         GET THE E-MAIL YOU JUST SENT:  (allow time for your 
  2019. Internet Service Provider to process it, at most a few seconds if 
  2020. you provider is worth anything, a minute at most).  Start 
  2021. YARNDIAL, and select the Get-Mail option to retieve it.
  2022.  
  2023.         LOOK AT YOUR FOLDERS:  Now start Yarn again, maximize the 
  2024. window, do Shift-F.  You should see a Mailed folder and an INBOX 
  2025. folder (if you retrieved your e-mail). If you'd posted something 
  2026. to a news group, there would also be a Posted folder.  Select one 
  2027. of these, press Enter, and you can read your INBOX (in-mail), what 
  2028. you've Posted or wht you've Mailed.
  2029. qqq
  2030.         PRINT IT:  While the mail is opened (reading your 
  2031. message), press s (lower case "S").  In the window that appears 
  2032. enter prn and press Enter.  You can alternatively enter a file 
  2033. name (path, too) and save it as a file.  There's an entry in your 
  2034. Yarn CONFIG file for a default directory where to save news, and 
  2035. if you omit the path when you enter the save-to filename, it  
  2036. it goes there.
  2037.  
  2038.         To back out successively from where ever you might be in 
  2039. Yarn: use the Escape key.
  2040.  
  2041.         To see command-help: Press F1.  Great function summary!
  2042.  
  2043. END OF PRIMER.
  2044.  
  2045. 30.00  NOTE ABOUT ADDING NEWSGROUPS
  2046. Sometimes, and I haven't tried to figure out exactly what has to 
  2047. happen for YARN to behave this way, even after you add groups to 
  2048. the home directory NEWSRC, and run NEWGROUP.EXE to add a group and 
  2049. set keep days, or add a host of groups and set keep days all at 
  2050. one time by running NEWGROUP.EXE @newslist.txt 30 30 (example), 
  2051. all groups do not show up in YARN's newsgroup lists when YARN 
  2052. opens.  Not to worry.  If you press either the minus key or your 
  2053. Insert key, the groups will show up in a list and you can select 
  2054. them one by one to add them.  These keys are among the commands 
  2055. listed when you press F1 to bring up YARN's command-help file.
  2056.  
  2057. 31.00  SETTING UP AND INSTALLING FOR MULTIPLE USERS
  2058. If you do use Yarn and Souper for e-mail, and even if you don't, 
  2059. you really should set up yourself as a user with ADDUSER.EXE even 
  2060. if you intend to be the only user.  Most installations are for a 
  2061. single user and involve only one provider.  (Some guides to 
  2062. setting up Yarn and Souper advise against doing so, but do it!).
  2063.  
  2064. After you have set up for a single user, the best way to add other 
  2065. users is as follows
  2066.         a.   You should already have run YDINSTL.CMD and have set 
  2067. up YARNDIAL for your first user.
  2068.         b.  If you haven't wiped out your temporary yarn and 
  2069. Souper directories, go back and do steps 10, 11 and 12 again, 
  2070. setting up a completely new yarn directory.  (If you wiped these 
  2071. temporary folders out, you'll need to repeat steps 1-12).
  2072.         c.  Open up the YARNDIAL SUITE folder which YDINSTL 
  2073. created on your desktop for your first user, double-click on the 
  2074. YarnUtil icon and enter ADDUSER.EXE as the utility you want to 
  2075. run.  Set up a new home directory for this new user by filling in 
  2076. the parameters called for, just as you did for the first user.
  2077.         d.  Run YDINSTL.CMD again (the one you ran for the first 
  2078. user or the on first user or the one copied over into d:\homexx, 
  2079. doesn't matter which).  When prompted for your Home and Yarn 
  2080. directories, key in the ones for this new user.
  2081.         d.  Repeat steps 14-16.
  2082.         e.  Double-click on YarnUtil in the desktop folder you 
  2083. just created for the second user, and run  NEWGROUP.EXE (see step 
  2084. 17) and FILTER (see step 18).
  2085.         f.  Edit the CONFIG file in the YARN subdirectory of the 
  2086. new users HOME directory (see step 19).
  2087.         g.  You're done setting up for a second user or provider.
  2088.  
  2089.  
  2090. 32.00   CONNECTION KILLED OR NOT WHEN YARNDIAL ENDS
  2091. YARNDIAL was originally designed to shut down the dialer and 
  2092. disconnect from the phone line when it finishes.  This was part of 
  2093. the original premise of automating off-line retrieval and sending 
  2094. of news and mail: letting you walk away from the machine without 
  2095. racking up unnecessarily high phone bills or access times.
  2096.  
  2097. Sometimes, however, you may be on-line, and want to get or send 
  2098. mail, and then return to whatever you were doing on-line without 
  2099. having to reconnect.  This feature was implemented to allow you to 
  2100. do that.
  2101.  
  2102. The main menu has seven selections.  If you select the "do-not-
  2103. kill-connection" option (either at install time or by making 
  2104. DO_NOT_KILL_CONNECTION=1 in YD_PARMS.DAT, your seven-selection 
  2105. choice becomes
  2106.  
  2107.        1 2 3 4 5 6 7   Executes functions as shown; goes
  2108.                        off-line when done
  2109. or
  2110.        ! @ # $ % ^ &   Same functions; connection remains up   
  2111.  
  2112.  
  2113. Note: The ! @ # $ % ^ & choices represent shift-1, shift-2, 
  2114. through shift-7 on a US-English keyboard.  Those alternate "stay-
  2115. connected" keys may be changed to suit your own national keyboard 
  2116. by editing DNK_STRING in YD_PARMS.DAT.
  2117.  
  2118.  
  2119. 33.00  WHERE TO GET SOFTWARE AND HELPFUL DOCUMENTATION
  2120. (this Section is work in progress)
  2121.  
  2122.   ftp-os2.nmsu.edu
  2123. mentioned below is a mirror site for the hobbes site
  2124.    ftp site (hobbes.nmsu.edu)
  2125. Directories are the same for whichever of the two you connect to.  
  2126. They are the old-reliables and I rely on them below.
  2127.  
  2128. Equally,
  2129.    ftp.leo.org
  2130. will likely have these files but the directory structure is 
  2131. different than hobbes.  It has a mirror site
  2132.    ftp.informatik.tu-muenchen-de
  2133.  
  2134. The OS/2 Shareware BBS (703-385-4325) will also likely have
  2135. these files.  It can be accessed on the Web as well at   
  2136.    http://www.os2bbs.com.
  2137.  
  2138. A good Web site for searching for software by name or keywords is
  2139.    http://castor.acs.oakland.edu/cgi-bin/vsl-front
  2140. (those are lower-case "L"'s not "one"'s)
  2141.  
  2142. EMXRT09B.ZIP
  2143. (optional if Souper is version 14 or higher, but still recommended 
  2144. because you need it for metamail, and for mime64)
  2145.    ftp-os2/nmsu.edu/os2/unix/emx09b/emxrt.zip
  2146.  
  2147. METAMAIL.ZIP
  2148. (optional but recommended)
  2149.    ftp-os2/nmsu.edu/os2/unix/metamail.zip
  2150.  
  2151. MIME64.ZIP
  2152. (optional but recommended.  Other mime en- or de-coders are 
  2153. available)
  2154.    ftp-os2/nmsu.edu/os2/unix/metamail.zip
  2155.  
  2156. SOUPER15.ZIP        latest version
  2157.   ftp-os2/nmsu.edu/os2/network/tcpip/souper15.zip
  2158.   also, links to it on http://www.vex.net/yarn
  2159.  
  2160. YRN2_09x.ZIP        latest version is _091, but _090 is fine.
  2161.    ftp-os2/nmsu.edu/os2/network/tcpip/yrn2_090.zip
  2162.    links to yrn2_091.zip are on http://www.vex.net/yarn
  2163.  
  2164. INfoZip Utilities (ZIP and UNZIP)
  2165.    ftp-os2/nmsu.edu/os2/archiver/zip21x2.zip
  2166.    ftp-os2/nmsu.edu/os2/archiver/unzip520.zip
  2167.  
  2168. UPDATES OF TCP/IP AND SLIPPM
  2169. In addition to the usual IBM sites, a good bet is John
  2170. Summerfield's web page.
  2171.   http://www.iinet.au/~summer/os2/
  2172. You will find links to service packages. The IC12657 package is 
  2173. the latest I could find.  It will take only about 10 minutes to 
  2174. install. 
  2175.  
  2176. PPP.DOC
  2177. Look for it in the c:\tcpip\etc directory or use the Warp SEEK 
  2178. utility to find it.
  2179.  
  2180. PPPINFO.ZIP by Tony Rall
  2181. Links to it in
  2182.    http://www.io.org/~tm/bells2.html
  2183.  
  2184. SLIPPM.FAQ
  2185.    http//www.gnatnet/lstone/FAQ.HTML
  2186.    (That's an "L" stone not a "one" stone)
  2187.  
  2188. PPDIAL29.ZIP
  2189.    ftp-os2/nmsu.edu/os2/network/tcpip/ppdial29.zip
  2190.    (Not only for the software but for its documentation)
  2191.  
  2192. TZ SETTINGS (Config.sys, time zones)
  2193. There is an excellent (readable, complete) discussion in the help 
  2194. file of the time868 program which can be found at
  2195.      ftp-os2/nmsu.edu/os2/network/tcpip/time868b.zip
  2196.  
  2197.    Start time868, click on help, and then search 'all sections'   
  2198.    for TZ.
  2199.  
  2200. There is also TZ information in the Master Help Index (it's in the
  2201. Warp Information folder).  Search for 'time zone' in the Master 
  2202. Help Index.
  2203.  
  2204. COMPLETE LIST OF MEDIA-TYPES (MIME ASSOCIATIONS)
  2205. (MIME TYPE or SUBTYPE and APPLICABLE FILENAME EXTENSIONS)
  2206.  
  2207. example : application/octet-stream represents mime type/subtype 
  2208. for binary files in general, i.e., those with extensions: .exe, 
  2209. .zip and so forth.
  2210.    http://www.isi.edu/in-notes/iana/assignments/media-types
  2211.    (document: media-types, plus others in that directory)
  2212.  
  2213. ACCESSING RFC's and FYI's, General Internet Information
  2214.    General:  try these and wade into them
  2215.       http://www.isi.edu/
  2216.       http://info.internet.isi.edu/
  2217.    Specifically: for RFC's, FYI's:
  2218.       http://info,internet.isi.edu/1/in-notes/
  2219.         and you will see links
  2220.       (note:  that /1/ is a "one" not an "L")
  2221.       RFC's that may be of interest for people already confused by 
  2222.       Mail, MIME and eager to know just how complex it gets:
  2223.          RFC1049    Content-type Headers
  2224.          RFC1341  Multipurpose-Internet-Mail-Extension (MIME)
  2225.          RFC822   ARPA Standard for Internet Messages
  2226.           
  2227. GENERAL INFORMATION AND LINKS TO YARN AND SOUPER
  2228. FILES, DOCUMENTATION, UTILITIES
  2229.    http://www.io.org/~tm/bells2.html and links contained therein
  2230.    http://www.vexnet.net/yarn and links contained therein
  2231.    http://www.nic.com/~cannon/getyarn.html and links contained 
  2232.         therein
  2233.    ftp://hobbes.nmsu.edu/os2/comm/soupinst.zip
  2234.          Steve Withers' install notes
  2235.  
  2236.  
  2237.  
  2238. 34.00  BUGS AND ERROR-TRAPPING
  2239. If you have moved the YARNDIAL desktop folder you created during 
  2240. an INSTALL (for example into another desktop folder), if you rerun 
  2241. YDINSTL or run OBJECTS.CMD to recreate the folder on the desktop, 
  2242. the folder does not appear on the desktop, but instead refreshes 
  2243. the one you moved into the location you moved it to. 
  2244.  
  2245. We can trap and identify various types of ReXX error conditions:  
  2246. Error, Syntax, Failure, Novalue, Halt and Notready, by setting 
  2247.  
  2248.         local_error_trapping = 1
  2249.  
  2250. Default is
  2251.  
  2252.         local_error_trapping = 0
  2253.  
  2254. but if you have problems, briefly setting this equal to one may 
  2255. help you identify source of an error.   For some kinds of trapped 
  2256. errors when local_error_trapping is set =1, the line number 
  2257. returned in SIGL is either the end of the .CMD file or the line 
  2258. jumped to upon the error.  In most cases, however, SIGL returns 
  2259. the offending line.
  2260.  
  2261. JL     Marblehead, MA